basic (INSECURE!) init system
This commit is contained in:
parent
9a3667b66b
commit
d4a927cb22
6 changed files with 52 additions and 2 deletions
|
@ -16,7 +16,7 @@ echo "PARTITION_START=${PARTITION_START}"
|
|||
|
||||
#create room for a partition
|
||||
ls -al iglunix.img -h
|
||||
dd if=/dev/zero bs=1 count=0 seek=2G of=iglunix.img
|
||||
dd if=/dev/zero bs=1 count=0 seek=20G of=iglunix.img
|
||||
ls -al iglunix.img -h
|
||||
|
||||
echo "n
|
||||
|
@ -68,6 +68,11 @@ cp /etc/vconsole.conf ${ROOT}/etc/vconsole.conf
|
|||
#TODO: this is a systemd file,
|
||||
# use udev/kbd
|
||||
|
||||
echo "Copying init.d files& inittab"
|
||||
mkdir ${ROOT}/etc/init.d/
|
||||
cp -r /iglunix/init/init.d ${ROOT}/etc/
|
||||
cp /iglunix/init/inittab ${ROOT}/etc/
|
||||
|
||||
echo "Unmounting & closing loopback"
|
||||
|
||||
umount ${ROOT}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue