keep only 32bit versions of precompiled binaries, those work on 64bit too
parent
e93ef3b8f8
commit
696e0f904e
|
|
@ -45,11 +45,7 @@ rm -Rf $INITRAMFS
|
|||
mkdir -p $INITRAMFS/{bin,dev,etc,lib,lib64,mnt,proc,root,run,sys,tmp,usr,var/log}
|
||||
ln -s bin $INITRAMFS/sbin
|
||||
|
||||
cd static
|
||||
./update
|
||||
cd ..
|
||||
|
||||
cp static/{busybox,mount.dynfilefs,mount.ntfs-3g,eject} $INITRAMFS/bin
|
||||
cp static/{busybox,mount.*,eject} $INITRAMFS/bin
|
||||
chmod a+x $INITRAMFS/bin/{busybox,mount.*,eject}
|
||||
|
||||
$INITRAMFS/bin/busybox | grep , | grep -v Copyright | tr "," " " | while read LINE; do
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
Source codes should be found at github
|
||||
https://github.com/Tomas-M/
|
||||
|
||||
|
||||
How to rebuild these static binaries:
|
||||
- using buildroot scripts <buildroot.uclibc.org>
|
||||
- unpack buildroot in /usr/src
|
||||
- copy busybox config (generated by busybox bbconfig) to /usr/src/buildroot-source/package/busybox/busybox-1.20.x.config
|
||||
- cd /usr/src/buildroot-sources
|
||||
- make menuconfig
|
||||
- configure buildroot to compile static libraries, set target processor architecture, and so on
|
||||
- add packages to buildroot, such as httpfs2-enhanced, dynfilefs, etc.
|
||||
- some manual tweaking is necessary, sorry about not commenting it here
|
||||
- make
|
||||
- find static binaries in /usr/src/buildroot-sources/output/target/bin/ etc
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,29 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# How to rebuild these static binaries:
|
||||
# - using buildroot scripts <buildroot.uclibc.org>
|
||||
# - unpack buildroot in /usr/src
|
||||
# - copy busybox config (generated by busybox bbconfig) to /usr/src/buildroot-source/package/busybox/busybox-1.20.x.config
|
||||
# - cd /usr/src/buildroot-sources
|
||||
# - make menuconfig
|
||||
# - configure buildroot to compile static libraries, set target processor architecture, and so on
|
||||
# - some manual tweaking is necessary so buildroot properly compiles ntfs-3g driver, sorry
|
||||
# - make
|
||||
# - find static binaries in /usr/src/buildroot-sources/output/target/bin/ etc
|
||||
#
|
||||
# - all sources can be found at http://ftp.slax.org/Slax-7.0-development/sources/Slax-7.0-sources
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$MYARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) export MYARCH=i486 ;;
|
||||
arm*) export MYARCH=arm ;;
|
||||
# Unless $MYARCH is already set, use uname -m for all other archs:
|
||||
*) export MYARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
ln -f busybox-$MYARCH ./busybox
|
||||
ln -f mount.ntfs-3g-$MYARCH ./mount.ntfs-3g
|
||||
ln -f mount.dynfilefs-$MYARCH ./mount.dynfilefs
|
||||
ln -f eject-$MYARCH ./eject
|
||||
Loading…
Reference in New Issue