Page 1 of 1

Modified "Boot Manager" for woof-ce puppies

Posted: Fri 29 Jul 2016, 01:50
by gyro
This is a modified "Boot Manager" utility.
Instead of having it's own code to manage extra sfs files, it simply calls sfs_load.
So, instead of there being 2 independent ways of loading extra sfs files, now there is only 1, sfs_load.
This makes things simpler from a user perspective.
It also makes possible the complete separation of sfs file handling, the init script looks after the system sfs files e.g. puppy...sfs, zdrv, etc, and sfs_load looks after any extra sfs files.

To test:
gunzip the attached file to produce "bootmanager", then execute it.

To integrate it into a puppy, replace "/usr/sbin/bootmanager" with this one.

Edit: final version in next post.

gyro

Posted: Sat 30 Jul 2016, 11:58
by gyro
With jlst's help, here is the final version of the new "bootmanager"

gyro

Posted: Sat 30 Jul 2016, 13:45
by bigpup
Have you submitted these changes to Woof-CE?

If you rally want this to get into Puppy, the code is there in Woof-CE.
https://github.com/puppylinux-woof-CE/woof-CE

There is also this:
woof-CE patch generator!
http://www.murga-linux.com/puppy/viewtopic.php?t=98740

Posted: Mon 01 Aug 2016, 16:57
by gyro
bigpup wrote:Have you submitted these changes to Woof-CE?
Yes, it's already in the rationalise branch.
gyro

Posted: Tue 02 Aug 2016, 19:48
by perdido
Did not work in precise 5.7.1

(Im guessing precise 5.7.1 was made with woof-ce?)

Edit: Ok, precise 5.7.1 is woof before it was forked to woof-ce so that explains why it didn't run.

Posted: Tue 02 Aug 2016, 20:13
by ASD
Just to report that I've been using it in Precise 5.6 since 3 days ago and it's working well. Thank you.

EDIT: MY APOLOGY TO ALL - I WAS MISTAKEN - my test duplicates perdido's Precise 5.7.1 failure (see below).
.

Posted: Thu 04 Aug 2016, 16:57
by gyro
perdido wrote:Did not work in precise 5.7.1
Did you try running it from a terminal?
From the directory where you have extracted the executable:

Code: Select all

./bootmanager
What error messages do you get?

gyro

Posted: Thu 04 Aug 2016, 18:50
by perdido
gyro wrote:
perdido wrote:Did not work in precise 5.7.1
Did you try running it from a terminal?
From the directory where you have extracted the executable:

Code: Select all

./bootmanager
What error messages do you get?
gyro
Hi gyro,

from terminal launched in /usr/sbin/

Code: Select all

# bootmanager
/usr/sbin/bootmanager: line 334: /usr/lib/gtkdialog/xml_info: not found
/usr/sbin/bootmanager: line 334: /usr/lib/gtkdialog/xml_button-icon: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_info: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_button-icon: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_info: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_button-icon: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_button-icon: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_button-icon: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_info: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_button-icon: not found
/usr/sbin/bootmanager: line 416: /usr/lib/gtkdialog/xml_button-icon: not found
/usr/sbin/bootmanager: .: line 418: can't open '/usr/lib/gtkdialog/xml_info'
# 
That is from a fresh install of precise 5.7.1

.

Posted: Thu 04 Aug 2016, 19:46
by perdido
gtkdialog parts missing in precise 5.7.1 , not in devx either

Posted: Fri 05 Aug 2016, 01:52
by gyro
@perdido,

Yes, your precise seems to be missing some needed gtkdialog stuff.

Sorry, I'm not sure if there's a gtkdialog update that has this stuff and would work in your precise.

gyro