mirror of
https://github.com/nix-community/raspberry-pi-nix.git
synced 2025-11-09 03:56:03 +01:00
nfs/boot/firmware
This commit is contained in:
parent
601069f892
commit
c3ce5a7fb2
1 changed files with 4 additions and 1 deletions
|
|
@ -128,14 +128,17 @@ in
|
|||
|
||||
echo "${pkgs.stdenv.buildPlatform.system}" > $out/nix-support/system
|
||||
|
||||
# Populate the files intended for NFS
|
||||
echo "Exporting rootfs image"
|
||||
mkdir -p $rootfs
|
||||
cp -r ${rootfsImage}/* $rootfs
|
||||
|
||||
# Populate the files intended for tftp
|
||||
# Populate the files intended for TFTP
|
||||
echo "Exporting rootfs image"
|
||||
${config.netImage.populateFirmwareCommands}
|
||||
mkdir -p $bootfs
|
||||
cp -r . $bootfs
|
||||
cp -r . $rootfs/boot/firmware
|
||||
'';
|
||||
})
|
||||
{ };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue