Last active
October 8, 2023 07:20
-
-
Save royratcliffe/703fad8c827e692d4c58aa89e1fae6e6 to your computer and use it in GitHub Desktop.
Buildroot Tarball on Docker ARM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rootfs: | |
docker run -it --rm -v rootfs:/mnt -v .:/home alpine tar -C /mnt -xf /home/rootfs.tar | |
rootfs-%: | |
docker run -it --rm -v rootfs:/mnt --privileged --platform linux/arm arm32v7/alpine $* | |
ash: rootfs-ash | |
# /etc/init.d/rcK | |
# /etc/init.d/rcS | |
# mount proc /proc -t proc | |
chroot: | |
docker run -it --rm -v rootfs:/mnt --privileged --platform linux/arm arm32v7/alpine chroot /mnt bash | |
mnt-swipl: | |
/mnt/lib/ld-linux-armhf.so.3 --library-path /mnt/usr/lib/swipl/lib/armv7l-linux:/mnt/usr/lib /mnt/usr/bin/swipl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment