Modified "Boot Manager" for woof-ce puppies

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

Modified "Boot Manager" for woof-ce puppies

#1 Post 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
Last edited by gyro on Sat 30 Jul 2016, 12:00, edited 1 time in total.

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#2 Post by gyro »

With jlst's help, here is the final version of the new "bootmanager"

gyro
Attachments
bootmanager.gz
gunzip to produce executable file
(6.3 KiB) Downloaded 202 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#3 Post 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
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#4 Post by gyro »

bigpup wrote:Have you submitted these changes to Woof-CE?
Yes, it's already in the rationalise branch.
gyro

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#5 Post 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.

ASD

#6 Post 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).
.
Last edited by ASD on Fri 05 Aug 2016, 07:56, edited 1 time in total.

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#7 Post 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

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#8 Post 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

.

User avatar
perdido
Posts: 1528
Joined: Mon 09 Dec 2013, 16:29
Location: ¿Altair IV , Just north of Eeyore Junction.?

#9 Post by perdido »

gtkdialog parts missing in precise 5.7.1 , not in devx either

gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

#10 Post 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

Post Reply