From b09e57e56f676a51e1df814129b8c4795e748b71 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sun, 1 Apr 2018 23:56:32 +0200 Subject: [PATCH] noimage_format --- hooks/cow_device | 6 +++--- .../archiso-x86_64-cd-default_noimage-format.conf | 5 +++++ .../archiso-x86_64-usb-default_noimage-format.conf | 5 +++++ syslinux-standart.cfg | 7 +++++++ syslinux.cfg | 14 ++++++++++++++ 5 files changed, 34 insertions(+), 3 deletions(-) create mode 100755 releng/archiso-x86_64-cd-default_noimage-format.conf create mode 100755 releng/archiso-x86_64-usb-default_noimage-format.conf diff --git a/hooks/cow_device b/hooks/cow_device index 7808faf..78eda7d 100755 --- a/hooks/cow_device +++ b/hooks/cow_device @@ -5,8 +5,8 @@ run_hook () if [[ "${format}" == "y" ]]; then sfdisk -l - read -p "Welches Laufwerk soll eine cow_device erhalten? /dev/sda : " formatdevice [[ -z "${formatdevice}" ]] && formatdevice=/dev/sda + [[ -z "${formatpartition}" ]] && formatpartition=3 fdisk ${formatdevice} <