1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-26 21:09:43 +01:00

u-boot/installer: prefer truncate, no additional package and works on zfs

This commit is contained in:
Samuel Dionne-Riel 2020-07-27 22:05:07 -04:00
parent c997e1b1d5
commit d72645f6d5

View file

@ -48,7 +48,6 @@ let
size = "8"; # in MiB
nativeBuildInputs = [
e2fsprogs.bin
utillinux
];
volumeLabel = "FIRMWARE_INSTALL";
uuid = "666efd84-5c25-48ec-af06-e9dadbaa830f";
@ -56,7 +55,7 @@ let
img="$out"
(PS4=" $ "; set -x
fallocate -l "$size"M $img
truncate -s "$size"M $img
mkdir -p files
(cd ./files