ยง2023-10-18
- Creating Initramfs Kiky Tokamur, Sep 14, 2019
$ wget https://busybox.net/downloads/busybox-1.36.1.tar.bz2
$ cd .. && tar xvf src/busybox-1.36.1.tar.bz2
$ cd busybox-1.36.1
$ make defconfig
make menuconfig
change the following settings
--- Build Options
[*] Build static binary (no shared libs)
--- Installation Options ("make install" behavior) (./_install) Destination path for 'make install'
make -j8
make CONFIG_PREFIX=./../busybox_rootfs install
[alexlai@orgpi58G build]$ ls busybox_rootfs/
bin linuxrc sbin usr