uwu

hardware bitcoin wallet software and build system
git clone https://git.parazyd.org/uwu
Log | Files | Refs | README | LICENSE

commit 111efbb7f8bd1741060d640a9278c26e82cea7e9
parent 0b90d06a83523ef02b22ee1cb86d4b58fb96f770
Author: parazyd <parazyd@dyne.org>
Date:   Tue,  2 Feb 2021 22:06:25 +0100

Update initramfs initscript.

Diffstat:
Minitramfs/init | 22++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/initramfs/init b/initramfs/init @@ -1,3 +1,21 @@ -#!/bin/sh +#!/bin/busybox sh +set -x -exit 0 +/bin/busybox --install -s /bin + +mkdir -p /dev /boot /mnt /proc /sys /etc /tmp + +touch /etc/fstab + +mount -t devtmpfs none /dev +mount -t sysfs none /sys +mount -t proc none /proc +mount -t tmpfs -o size=50M none /tmp + +mount /dev/mmcblk0p1 /boot +cp /boot/filesystem.squashfs /tmp +umount /boot + +mount -t squashfs /tmp/filesystem.squashfs /mnt + +exec /bin/sh