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:
parent
c997e1b1d5
commit
d72645f6d5
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue