aboutsummaryrefslogtreecommitdiff
path: root/repos/core/busybox/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'repos/core/busybox/abuild')
-rwxr-xr-xrepos/core/busybox/abuild92
1 files changed, 0 insertions, 92 deletions
diff --git a/repos/core/busybox/abuild b/repos/core/busybox/abuild
deleted file mode 100755
index 3120d1b9..00000000
--- a/repos/core/busybox/abuild
+++ /dev/null
@@ -1,92 +0,0 @@
-name=busybox
-version=1.36.1
-release=3
-source="https://${name}.net/downloads/${name}-${version}.tar.bz2
- config
- mdev.conf
- fsck-resolve-uuid.patch
- 0016-ping-make-ping-work-without-root-privileges.patch
- install-fix-chown.patch
- adduser-no-setgid.patch
- lineedit-Handle-SIGWINCH-gracefully.patch
- lsusb-vendor-product.patch
- print-unicode.patch
- modprobe-kernel-version.patch
- 0007-nologin-Install-applet-to-sbin-instead-of-usr-sbin.patch
- acpid.run
- crond.run
- ntpd.run
- syslogd.run
- tty1.run
- tty2.run
- tty3.run
- tty4.run
- tty5.run
- ttyS0.run
- pause.c
- pause.1"
-sv="acpid.run
- crond.run
- ntpd.run
- syslogd.run
- tty1.run
- tty2.run
- tty3.run
- tty4.run
- tty5.run
- ttyS0.run"
-
-build() {
- cp $SRC/config .config
- #make menuconfig
- make
- make CONFIG_PREFIX=$PKG install
- mkdir -p $PKG/usr/share/busybox
- cat .config > $PKG/usr/share/busybox/config
-
- BIN="$BIN xzcat xz unxz unlzma lzcat lzma" #xz
- #BIN="$BIN zcat gunzip gzip" #gzip
- #BIN="$BIN strings" #binutils
- BIN="$BIN clear reset" #ncurses
- BIN="$BIN patch" #patch
- BIN="$BIN bzcat bunzip2 bzip2" #bzip2
- BIN="$BIN setfattr" #attr
- BIN="$BIN chattr lsattr mke2fs findfs mkfs.ext2 blkid" #e2fsprogs
- BIN="$BIN mkdosfs mkfs.vfat " #dosfstools
-
- # XXX
- for i in $BIN; do
- rm $PKG/*/$i || true
- rm $PKG/*/*/$i || true
- done
-
- cp $PKG/bin/busybox $PKG/bin/busybox-suid
- chmod u+s $PKG/bin/busybox-suid
-
- for a in bin/mount \
- bin/umount \
- bin/su \
- bin/ping ; do
- rm $PKG/$a
- ln -sv busybox-suid $PKG/$a
- done
-
- for a in usr/bin/crontab \
- usr/bin/passwd \
- usr/bin/traceroute \
- usr/bin/traceroute6 \
- usr/bin/vlock; do
- rm $PKG/$a
- ln -sv ../../bin/busybox-suid $PKG/$a
- done
-
- mkdir -p $PKG/etc
- install -m644 $SRC/mdev.conf $PKG/etc/mdev.conf
-
- rm $PKG/usr/bin/diff
- ln -s busybox $PKG/bin/diff
-
- clang ${CFLAGS} $SRC/pause.c -o $PKG/usr/bin/pause
- install -d $PKG/usr/share/man/man1
- install -m644 $SRC/pause.1 $PKG/usr/share/man/man1/pause.1
-}