Page 1 of 1

flashrom on porteus

Posted: 05 Jan 2021, 12:15
by raf65
good morning everyone is my first post on this forum.I am using the porteus i586 lxqt version on usb.I would like to install flashrom x spiflash as a module.on hd can i install porteus or some applications don't work? give me a simple guide.thanks and good Year. :%)

flashrom on porteus

Posted: 05 Jan 2021, 16:02
by Blaze
Welcome on the board!
Download it from here https://pkgs.org/search/?q=flashrom or build it and activate:

Code: Select all

su
toor
cd /tmp
wget -q https://slackbuilds.org/slackbuilds/14.2/misc/flashrom.tar.gz
tar -xf flashrom.tar.gz 
rm flashrom.tar.gz 
cd flashrom/
wget -q https://download.flashrom.org/releases/flashrom-v1.2.tar.bz2
sed -i 's|-0.9.9|-v1.2|' /tmp/flashrom/flashrom.SlackBuild
sed -i 's|cp -a ChangeLog COPYING README Documentation|# cp -a ChangeLog COPYING README Documentation|' /tmp/flashrom/flashrom.SlackBuild
./flashrom.SlackBuild 
txz2xzm /tmp/flashrom-v1.2-$(arch)-1_SBo.tgz flashrom-v1.2-$(arch)-1_SBo.xzm
mv /tmp/flashrom-v1.2-$(arch)-1_SBo.xzm $MODDIR
activate $MODDIR/flashrom-v1.2-$(arch)-1_SBo.xzm

flashrom on porteus

Posted: 06 Jan 2021, 12:30
by ncmprhnsbl
i'll just add one thing to Blaze's instructions: get 05-devel.xzm and activate it first : 05-devel.xzm

flashrom on porteus

Posted: 06 Jan 2021, 18:33
by raf65
should i convert the file flashrom0.9.7.txt to xzm with txz2xzm flashrom 0.9.7.txz.thanks

flashrom on porteus

Posted: 06 Jan 2021, 19:19
by Blaze
Right click on txz file and you will see right action of convert. Password from root is toor

Отправлено спустя 13 часов 39 минут 25 секунд:
Download flashrom-v1.2-x86_64-1_SBo.xzm