Code Sample |
## make and populate the directories source and newcd as before ## stop your old procedure just before the first mkisofs step # copy dsl-dpkg.dsl into the home/dsl directory of your remaster cp dsl-dpkg.dsl source/KNOPPIX/home/dsl # change the root directory to the one your remaster will use sudo chroot source/KNOPPIX # The source/KNOPPIX directory now apears as # the root of the shell you're in cd /home/dsl # install your dpkg and apt-get package using tar tar -xzvf dsl-dpkg.dsl --same-owner -C / rm dsl-dpkg.dsl # you no longer need it # update the package list # edit /etc/apt/sources.list to change from stable # if you need to (I don't anymore) apt-get update # now install whatever you want apt-get install gcc g++ make g77 nasm patch libncurses5-dev libreadline4-dev # then clean away the deb files since they're not needed anymore apt-get clean exit |