mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-08 11:36:04 +01:00
rework rootfs output dir
This commit is contained in:
parent
2be94edd10
commit
b785e594f3
1 changed files with 2 additions and 2 deletions
|
|
@ -123,14 +123,14 @@ in
|
|||
set -e
|
||||
set -x
|
||||
mkdir -p $out/nix-support $out/net-image
|
||||
export rootfs=$out/net-image/${config.netImage.rootDirectoryName}
|
||||
export rootfs=$out/net-image/os/${config.netImage.rootDirectoryName}
|
||||
export bootfs=$out/net-image/boot
|
||||
|
||||
echo "${pkgs.stdenv.buildPlatform.system}" > $out/nix-support/system
|
||||
|
||||
echo "Exporting rootfs image"
|
||||
mkdir -p $rootfs
|
||||
cp -r ${rootfsImage} $rootfs
|
||||
cp -r ${rootfsImage}/* $rootfs
|
||||
|
||||
# Populate the files intended for tftp
|
||||
${config.netImage.populateFirmwareCommands}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue