tCreate .electrum for user. - uwu - hardware bitcoin wallet software and build system (HTM) git clone https://git.parazyd.org/uwu (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 761fed109dbbebd8a5693c8e6684ebe701da4576 (DIR) parent 228d4ed0616569cb5e87ff89d5a3c8a8fb1a2bfa (HTM) Author: parazyd <parazyd@dyne.org> Date: Tue, 2 Feb 2021 23:59:22 +0100 Create .electrum for user. Diffstat: M Makefile | 2 +- M chroot.mk | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) --- (DIR) diff --git a/Makefile b/Makefile t@@ -45,7 +45,7 @@ initramfs/bin/busybox: $(BUSYBOX_SRC)/busybox cp $(BUSYBOX_SRC)/busybox $@ rpi-boot/filesystem.squashfs: chroot/usr/bin/electrum - mksquashfs chroot $@ -comp xz -noappend + mksquashfs chroot $@ -comp xz -Xbcj arm -noappend rpi-boot/upstream/initramfs.cpio: initramfs/bin/busybox initramfs/init ( cd initramfs && find -print0 | cpio --null -oV --format=newc > ../$@ ) (DIR) diff --git a/chroot.mk b/chroot.mk t@@ -10,7 +10,7 @@ chroot/bin/busybox: $(ALPINE_TAR) $(ALPINE_SIG) gpg --no-default-keyring --keyring=./verification_keyring.gpg \ --verify $(ALPINE_SIG) mkdir -p chroot - ( cd chroot && tar xf ../$(ALPINE_TAR) ) + ( cd chroot && tar xpf ../$(ALPINE_TAR) --xattrs ) chroot/usr/bin/electrum: chroot/bin/busybox qemu-wrapper ./devprocsys.sh mount chroot t@@ -20,4 +20,6 @@ chroot/usr/bin/electrum: chroot/bin/busybox qemu-wrapper chmod 755 chroot/install.sh chroot/qemu-wrapper chroot chroot /install.sh || ( ./devprocsys.sh umount chroot ; exit 1 ) ./devprocsys.sh umount chroot + mkdir -p chroot/home/uwu/.electrum + chown 1000:1000 chroot/home/uwu/.electrum rm -f chroot/usr/bin/$(QEMU_ARM) chroot/qemu-wrapper chroot/install.sh