bootpart-uefi-x86_64: cleanup formatting
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{ stdenv, syslinux }:
|
{ stdenv, syslinux }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation {
|
||||||
pname = "bootpart-uefi-x86_64";
|
pname = "bootpart-uefi-x86_64";
|
||||||
version = "1";
|
version = "1";
|
||||||
|
|
||||||
@@ -22,16 +22,14 @@ stdenv.mkDerivation rec {
|
|||||||
cp "${syslinux}/share/syslinux/efi64/menu.c32" "$out/syslinux/menu.c32"
|
cp "${syslinux}/share/syslinux/efi64/menu.c32" "$out/syslinux/menu.c32"
|
||||||
echo "UI menu.c32" > "$out/syslinux/syslinux.cfg"
|
echo "UI menu.c32" > "$out/syslinux/syslinux.cfg"
|
||||||
echo "INCLUDE ../extlinux/extlinux.conf" >> "$out/syslinux/syslinux.cfg"
|
echo "INCLUDE ../extlinux/extlinux.conf" >> "$out/syslinux/syslinux.cfg"
|
||||||
|
|
||||||
# create the EFI/BOOT/BOOTX64.EFI default entry
|
# create the EFI/BOOT/BOOTX64.EFI default entry
|
||||||
cp "$out/EFI/syslinux"/* "$out/EFI/BOOT"
|
cp "$out/EFI/syslinux"/* "$out/EFI/BOOT"
|
||||||
mv "$out/EFI/BOOT/syslinux.efi" "$out/EFI/BOOT/BOOTX64.EFI"
|
mv "$out/EFI/BOOT/syslinux.efi" "$out/EFI/BOOT/BOOTX64.EFI"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "unmanaged files to place in /boot on a x86-64 extlinux system";
|
description = "unmanaged files to place in /boot on a x86-64 extlinux system";
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user