I'm trying to create an .iso file that has Java built into it. Apparently, the distro of Puppy (Slacko version 5) doesn't have Java, therefore I want to include the jre sfs file and then load it via a script file and have the script file also execute a java command. Can anyone help me with this, or is there a better way to do this?
Terry
How can I load an sfs file using a script? (Solved)
Phatslacko-5502 has java built in.
Ok basic steps
to remove.......
Important note...the sfs must not be within the existing union..... I move to a tmpfs if so in my case.
done... or there is a 84k script if you like....
note this loads jre on top of any other sfs... usually makes life easier and if packaged correctly no reboot should be needed to run java.
mike
Code: Select all
mkdir -p /initrd/jre
mount-FULL -o loop -t squashfs /path/to/jre.sfs /initrd/jre
busybox mount -t aufs -o remount,add:1:/initrd/jre=ro unionfs /
Code: Select all
busybox mount -t aufs -o remount,del:/initrd/jre unionfs /
busybox umount /initrd/jre
done... or there is a 84k script if you like....
note this loads jre on top of any other sfs... usually makes life easier and if packaged correctly no reboot should be needed to run java.
mike
How can I load an sfs file using a script?
Thanks guys, you saved me a lot of time.
Terry
Terry