diff options
| author | Michael Neves | 2012-11-07 17:33:09 +0100 |
|---|---|---|
| committer | Michael Neves | 2012-11-07 17:33:09 +0100 |
| commit | 64a7b82c0746161398a6b9d6776ed60596a5ea9a (patch) | |
| tree | 8dfbbc6aaacac9fb66066af4b0bcb2e19814107c | |
| parent | ignore server/stage3.1 (build dir) (diff) | |
| download | tm-scripts-64a7b82c0746161398a6b9d6776ed60596a5ea9a.tar.gz tm-scripts-64a7b82c0746161398a6b9d6776ed60596a5ea9a.tar.xz tm-scripts-64a7b82c0746161398a6b9d6776ed60596a5ea9a.zip | |
build_core2
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | data/stage3.1/init | 6 | ||||
| -rwxr-xr-x | remote/setup-tools.sh | 1 |
3 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,7 @@ *~ server/stage3.1 stage3.2 +initramfs src build .built diff --git a/data/stage3.1/init b/data/stage3.1/init index 53420983..d25d205d 100755 --- a/data/stage3.1/init +++ b/data/stage3.1/init @@ -21,8 +21,6 @@ mount -n -t tmpfs -o 'mode=755' run "/run" [ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys #modprobe -a squashfs aufs 2>/dev/null -#insmod /lib/modules/3.2.0-24-generic-pae/kernel/fs/squashfs/squashfs.ko -#insmod /lib/modules/3.2.0-24-generic-pae/kernel/ubuntu/aufs/aufs.ko mkdir -p /dev/shm/union /dev/shm/uniontmp /rorootfs mount -n /mnt/openslx.sqfs /rorootfs @@ -39,7 +37,7 @@ for mnt in proc sys run ; do umount -n $mnt done -/bin/busybox sh +#/bin/sh unset BOOT_IMAGE initrd # new style of pivoting (switch_root or run-init) -exec /bin/switch_root -c dev/console /mnt /sbin/init +exec /sbin/switch_root -c dev/console /mnt /usr/lib/systemd/systemd diff --git a/remote/setup-tools.sh b/remote/setup-tools.sh index f9867048..a345293d 100755 --- a/remote/setup-tools.sh +++ b/remote/setup-tools.sh @@ -122,6 +122,7 @@ main () { fetch_source build copyfileswithdependencies + cd $TOOL_DIR else echo "Tool directory not found." fi |
