update all scripts
This commit is contained in:
1 parent
c9bb397d65
commit
d065fa6e04
26 files changed
+218
-33
No files matched your search
@@ -10,10 +10,20 @@
|
||||
|
||||
#----------- Building busybox for rootfs ----------
|
||||
busybox_rootfs() {
|
||||
pkgname=busybox
|
||||
pkgver=${BUSYBOX_VERSION}
|
||||
srcurl=https://busybox.net/downloads/${pkgname}-${pkgver}.tar.bz2
|
||||
print_info "** Building busybox for rootfs"
|
||||
[ -d $build/busybox ] && return 0
|
||||
mkdir -p $build/busybox
|
||||
cd $build/busybox
|
||||
if [ ! -f $root/downloads/${pkgname}-${pkgver}.tar.bz2 ]; then
|
||||
print_info "** Downloading $srcurl"
|
||||
cd $root/downloads
|
||||
wget $srcurl
|
||||
check $? "download $srcurl"
|
||||
cd -
|
||||
fi
|
||||
tar -xjf $root/downloads/busybox-${BUSYBOX_VERSION}.tar.bz2
|
||||
cd busybox-${BUSYBOX_VERSION}
|
||||
sed -i 's/|| ctx->process_block == sha1_process_block64_shaNI/|| ctx->process_block == sha1_process_block64/' libbb/hash_md5_sha.c
|
||||
|
||||
Reference in new issue
Block a user