From 50bca7891f6496dcc732384d249ac386f8de085e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 19 May 2015 11:39:39 +0200 Subject: [PATCH] preos 0.4 Signed-off-by: Nico Schottelius --- hacking/v3-busybox/all.sh | 3 ++- hacking/v3-busybox/create_iso.sh | 2 +- hacking/v3-busybox/init | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) mode change 100644 => 100755 hacking/v3-busybox/init diff --git a/hacking/v3-busybox/all.sh b/hacking/v3-busybox/all.sh index 51eac9af..99b0c0ec 100755 --- a/hacking/v3-busybox/all.sh +++ b/hacking/v3-busybox/all.sh @@ -3,6 +3,7 @@ rm -rf preos mkdir -p preos/boot -./generate.sh > preos/boot/initramfs +./create_initramfs.sh > preos/boot/initramfs ./add_kernel_isolinux.sh preos +./create_iso.sh preos preos.iso diff --git a/hacking/v3-busybox/create_iso.sh b/hacking/v3-busybox/create_iso.sh index 0902bc20..c6b39be6 100755 --- a/hacking/v3-busybox/create_iso.sh +++ b/hacking/v3-busybox/create_iso.sh @@ -10,7 +10,7 @@ fi indir=$1; shift iso=$1; shift -version=0.3 +version=0.4 out=preos-${version}.iso diff --git a/hacking/v3-busybox/init b/hacking/v3-busybox/init old mode 100644 new mode 100755 index 40507339..a961526f --- a/hacking/v3-busybox/init +++ b/hacking/v3-busybox/init @@ -1,5 +1,8 @@ #!/bin/sh +#Create all the symlinks to /bin/busybox +/bin/busybox --install -s + #Mount things needed by this script mount -t proc proc /proc mount -t sysfs sysfs /sys @@ -7,8 +10,6 @@ mount -t sysfs sysfs /sys #Disable kernel messages from popping onto the screen echo 0 > /proc/sys/kernel/printk -#Create all the symlinks to /bin/busybox -busybox --install -s #Create device nodes mknod /dev/null c 1 3