mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
repart-image: removing unshare (and util-linux dep) form systemd-repart invocation
..
This commit is contained in:
parent
7780e5160e
commit
d7a9d49c42
1 changed files with 1 additions and 3 deletions
|
@ -10,7 +10,6 @@
|
|||
, mypy
|
||||
, systemd
|
||||
, fakeroot
|
||||
, util-linux
|
||||
|
||||
# filesystem tools
|
||||
, dosfstools
|
||||
|
@ -105,7 +104,6 @@ in
|
|||
nativeBuildInputs = [
|
||||
systemd
|
||||
fakeroot
|
||||
util-linux
|
||||
] ++ lib.optionals (compression.enable) [
|
||||
compressionPkg
|
||||
] ++ fileSystemTools;
|
||||
|
@ -148,7 +146,7 @@ in
|
|||
runHook preBuild
|
||||
|
||||
echo "Building image with systemd-repart..."
|
||||
unshare --map-root-user fakeroot systemd-repart \
|
||||
fakeroot systemd-repart \
|
||||
''${systemdRepartFlags[@]} \
|
||||
${imageFileBasename}.raw \
|
||||
| tee repart-output.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue