1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-27 05:19:44 +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 37f8a7e92b
commit 7e1fd3072e

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