clacker
Group: Members
Posts: 570
Joined: June 2004 |
|
Posted: Sep. 28 2005,12:39 |
|
casio, if you have all of the deb files, you can load them into a dsl file the same way that the alsa.dsl does it. Put those deb files into a directory (say /opt/uucp) and make a menu item "install uucp" with an /tmp/mydsl.menu/uucp entry something like this:
[exec] (install uucp) {rxvt -rv -T "uucp install" -e sudo dpkg -i /opt/uucp/*.deb}
If the dpkg-dsl package has already been loaded then this will use dpkg to load the debs. This won't happen automatically, but will run when you choose the menu item.
If you are remastering you could chroot and install your debs that way. This is how I make my remasters:
Code Sample | mkdir source cp -Rp /KNOPPIX source cp /wherever/dsl-dpkg.dsl source/KNOPPIX cp /wherever/gnu-utils.dsl source/KNOPPIX cp /wherever/*.deb.deb source/KNOPPIX chroot source/KNOPPIX mount -t proc /proc proc # not always needed mydsl-load dsl-dpkg.dsl mydsl-load gnu-utils.dsl dpkg -i *.deb rm dsl-dpkg.dsl rm gnu-utils.dsl rm *.deb umount proc # not always needed, only if you mounted proc <CTRL> D |
The nice thing with this method is you don't need to load to ram since that source/knoppix directory isn't a link to the CD. It gets rid of a lot of my deb loading errors caused by locked files and symlinks.
Another option would be to make a shell script that would run at the start of xwindows like dillo does. Then it would start automatically in your remaster.
You can try using the deb2dsl script, but if uucp does things like adding users and groups this won't work. For lots of simple things it does though.
The fourth option is to use the find command to locate all of the files that changed or were added after you ran dpkg. I first load gnu-utils.dsl package because the find in busybox doesn't have all of the commands. Then I do:
touch mymarker #as a starting timestamp sudo dpkg -i /wherever/*.deb # load the debs sudo find / -cnewer mymarker | grep -v "\/proc\/" > files
Then look through files and keep what you want.
|