diff options
author | Al Stone <ahs3@redhat.com> | 2012-11-09 18:06:43 -0700 |
---|---|---|
committer | Al Stone <ahs3@redhat.com> | 2012-11-09 18:06:43 -0700 |
commit | 1b93f16ba077c1cfa02b02e7939b3b9a6f9e5554 (patch) | |
tree | b53b024bb6ddadd07c0a09e0af33b7d7f9f6c170 /stage1 | |
parent | 60e0921254e4aad67db1bec9341e6c24f98ad939 (diff) | |
download | bootstrap.git.DONOTUSE-1b93f16ba077c1cfa02b02e7939b3b9a6f9e5554.tar.gz bootstrap.git.DONOTUSE-1b93f16ba077c1cfa02b02e7939b3b9a6f9e5554.tar.xz bootstrap.git.DONOTUSE-1b93f16ba077c1cfa02b02e7939b3b9a6f9e5554.zip |
replaced sysvinit with busybox
Diffstat (limited to 'stage1')
-rwxr-xr-x | stage1 | 46 |
1 files changed, 23 insertions, 23 deletions
@@ -374,7 +374,7 @@ case "$1" in go make go sed go coreutils - go sysvinit + go busybox go util-linux go tar go gzip @@ -583,13 +583,14 @@ fi "usrlinks" ) test -d $ROOTFS || mkdir -p $ROOTFS - mkdir $ROOTFS/usr - for i in bin sbin lib libexec - do - ln -s usr/$i $ROOTFS/$i - mkdir $ROOTFS/usr/$i - done - for i in etc + #mkdir $ROOTFS/usr + #for i in bin sbin lib libexec + #do + # ln -s usr/$i $ROOTFS/$i + # mkdir $ROOTFS/usr/$i + #done + #for i in etc proc sys + for i in proc sys do mkdir $ROOTFS/$i done @@ -904,23 +905,22 @@ EOF make $J install DESTDIR=${ROOTFS} ;; - sysvinit ) - srpm sysvinit + busybox ) + srpm busybox mcd $BUILDDIR/$1 + rsync -av $SRC/busybox-*/ ./ notparallel - rsync -av $SRC/sysvinit-*/ ./ - cp src/init.c.single src/init.c - make \ - CC=${TARGET}-gcc \ - AS=${TARGET}-as \ - AR=${TARGET}-ar \ - STRIP=${TARGET}-strip \ - RANLIB=${TARGET}-ranlib \ - CFLAGS="" \ - LDFLAGS="-ldl" \ - WITH_SELINUX=yes \ - -C src - make install ROOT=${ROOTFS} + make TEST_aarch64_f17_defconfig CROSS_COMPILE=${TARGET}- + make busybox CROSS_COMPILE=${TARGET}- + make install CONFIG_PREFIX=${ROOTFS} + + # simple start up script to be invoked by hand, if desired + ( + echo '#!/bin/sh' + echo mount -t proc proc /proc + echo mount -t sysfs sysfs /sys + ) > $ROOTFS/do_mounts.sh + chmod +x $ROOTFS/do_mounts.sh ;; util-linux ) |