mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-23 11:29:43 +01:00
u-boot/installer: prefer truncate, no additional package and works on zfs
This commit is contained in:
parent
37f8a7e92b
commit
7e1fd3072e
1 changed files with 1 additions and 2 deletions
|
@ -48,7 +48,6 @@ let
|
||||||
size = "8"; # in MiB
|
size = "8"; # in MiB
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
e2fsprogs.bin
|
e2fsprogs.bin
|
||||||
utillinux
|
|
||||||
];
|
];
|
||||||
volumeLabel = "FIRMWARE_INSTALL";
|
volumeLabel = "FIRMWARE_INSTALL";
|
||||||
uuid = "666efd84-5c25-48ec-af06-e9dadbaa830f";
|
uuid = "666efd84-5c25-48ec-af06-e9dadbaa830f";
|
||||||
|
@ -56,7 +55,7 @@ let
|
||||||
img="$out"
|
img="$out"
|
||||||
(PS4=" $ "; set -x
|
(PS4=" $ "; set -x
|
||||||
|
|
||||||
fallocate -l "$size"M $img
|
truncate -s "$size"M $img
|
||||||
|
|
||||||
mkdir -p files
|
mkdir -p files
|
||||||
(cd ./files
|
(cd ./files
|
||||||
|
|
Loading…
Reference in a new issue