Mercurial > vanilla
comparison core/busybox/busybox.sh @ 606:25cecc6dca48
vanilla: use POSIX shell and busybox tar
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 18 Jul 2019 07:26:43 +0200 |
parents | ec4819b1579a |
children | 8100a1897e9e |
comparison
equal
deleted
inserted
replaced
605:860ab66f5f71 | 606:25cecc6dca48 |
---|---|
33 : ${PAM:=no} | 33 : ${PAM:=no} |
34 | 34 |
35 build() | 35 build() |
36 { | 36 { |
37 rm -rf $PKGNAME-$PKGVERSION | 37 rm -rf $PKGNAME-$PKGVERSION |
38 tar xvaf $PKGNAME-$PKGVERSION.tar.bz2 | 38 tar xvf $PKGNAME-$PKGVERSION.tar.bz2 |
39 pushd $PKGNAME-$PKGVERSION | 39 cd $PKGNAME-$PKGVERSION |
40 | 40 |
41 # | 41 # |
42 # Allow user to specify a full config if specified, otherwise change | 42 # Allow user to specify a full config if specified, otherwise change |
43 # package options. | 43 # package options. |
44 # | 44 # |
83 install -Dm0644 ../busybox.crond $DESTDIR/etc/rc.d/busybox.crond | 83 install -Dm0644 ../busybox.crond $DESTDIR/etc/rc.d/busybox.crond |
84 install -Dm0644 ../busybox.klogd $DESTDIR/etc/rc.d/busybox.klogd | 84 install -Dm0644 ../busybox.klogd $DESTDIR/etc/rc.d/busybox.klogd |
85 install -Dm0644 ../busybox.mdev $DESTDIR/etc/rc.d/busybox.mdev | 85 install -Dm0644 ../busybox.mdev $DESTDIR/etc/rc.d/busybox.mdev |
86 install -Dm0644 ../busybox.syslogd $DESTDIR/etc/rc.d/busybox.syslogd | 86 install -Dm0644 ../busybox.syslogd $DESTDIR/etc/rc.d/busybox.syslogd |
87 | 87 |
88 popd | 88 cd .. |
89 rm -rf $PKGNAME-$PKGVERSION | 89 rm -rf $PKGNAME-$PKGVERSION |
90 } | 90 } |