From a8f93656e33ec1cae6b23828b0d8b272c109ed5c Mon Sep 17 00:00:00 2001 From: Penguin Date: Thu, 10 Feb 2022 22:25:55 -0600 Subject: [PATCH] migrating --- README.md | 37 +++++++++++++++++++++++++++++++++++++ mount_a5 | 2 ++ multistrap_penguin.conf | 2 +- penguin.sh | 0 4 files changed, 40 insertions(+), 1 deletion(-) mode change 100644 => 100755 README.md create mode 100755 mount_a5 mode change 100644 => 100755 multistrap_penguin.conf mode change 100644 => 100755 penguin.sh diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 3030c0b..474795a --- a/README.md +++ b/README.md @@ -303,7 +303,44 @@ make ARCH=arm CROSS_COMPILE=${CC} ## Root Filesystem +``` +COMMENT OUT NON-FREE + +sudo multistrap -a armhf -f multistrap_penguin.conf + +sudo LC_ALL=C LANGUAGE=C LANG=C chroot target-rootfs apt-get update +sudo LC_ALL=C LANGUAGE=C LANG=C chroot target-rootfs apt-get install \ +sudo \ +ethtool \ +git \ +gcc \ +g++ \ +libzmq3-dev \ +net-tools \ +make \ +libconfig-dev \ +libjansson-dev \ +libusb-1.0-0-dev \ +minicom \ +dbus \ +jq \ +pv \ +wget \ +curl \ +ntp \ +ptpd \ +i2c-tools \ +parted \ +dos2unix \ +tree \ +libjansson-dev \ +libdatetime-perl \ +libdbi-perl \ +libclass-autouse-perl \ +device-tree-compiler \ +cmake +``` ## To Do: - Make a script for doing this automatically - Make a script for device tree configuration automatically \ No newline at end of file diff --git a/mount_a5 b/mount_a5 new file mode 100755 index 0000000..5ad4e9f --- /dev/null +++ b/mount_a5 @@ -0,0 +1,2 @@ +sudo sh -c "echo '/dev/mmcblk0p2 / auto errors=remount-ro 0 1' >> /mnt/rootfs/etc/fstab" +sudo sh -c "echo '/dev/mmcblk0p1 /boot/uboot auto defaults 0 2' >> /mnt/rootfs/etc/fstab" \ No newline at end of file diff --git a/multistrap_penguin.conf b/multistrap_penguin.conf old mode 100644 new mode 100755 index e36b639..541e75d --- a/multistrap_penguin.conf +++ b/multistrap_penguin.conf @@ -14,7 +14,7 @@ components=main contrib non-free [Net] #Basic packages to enable the networking -packages=netbase net-tools ethtool udev iproute iputils-ping ifupdown isc-dhcp-client ssh +packages=netbase net-tools ethtool udev iproute2 iputils-ping ifupdown isc-dhcp-client ssh source=http://cdn.debian.net/debian/ [Utils] diff --git a/penguin.sh b/penguin.sh old mode 100644 new mode 100755