From 0dc12a1122dd6a53b7fc0b7b305fc4d0e6af606e Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Tue, 3 Mar 2020 14:11:22 +0100 Subject: [PATCH] remove stuff for copying autoinstall files around --- .../hooks/032-installer-squashfs.binary | 20 ------------------- .../system/subiquity_autoinstall.mount | 4 ---- 2 files changed, 24 deletions(-) delete mode 100644 live-build/ubuntu-server/includes.binary/overlay/usr/lib/systemd/system/subiquity_autoinstall.mount diff --git a/live-build/ubuntu-server/hooks/032-installer-squashfs.binary b/live-build/ubuntu-server/hooks/032-installer-squashfs.binary index c988a6bb..72df7f8f 100755 --- a/live-build/ubuntu-server/hooks/032-installer-squashfs.binary +++ b/live-build/ubuntu-server/hooks/032-installer-squashfs.binary @@ -50,14 +50,6 @@ JobRunningTimeoutSec=0s Wants=subiquity_config.mount EOF -AUTOINSTALL_DEVICE_UNIT='dev-disk-by\x2dlabel-autoinstall.device' -mkdir -p "$INSTALLER_ROOT/etc/systemd/system/$AUTOINSTALL_DEVICE_UNIT.d" -cat > "$INSTALLER_ROOT/etc/systemd/system/$AUTOINSTALL_DEVICE_UNIT.d/override.conf" < "$INSTALLER_ROOT"/etc/initramfs-tools/scripts/init-bottom/copy-autoinstall -#!/bin/sh -case \$1 in -prereqs) exit 0;; -esac - -[ -f /autoinstall.yaml ] && cp /autoinstall.yaml /run/initrd-autoinstall.yaml -EOF -chmod +x "$INSTALLER_ROOT"/etc/initramfs-tools/scripts/init-bottom/copy-autoinstall - teardown_mountpoint "$INSTALLER_ROOT" squashfs_f="${PWD}/livecd.${PROJECT}.installer.squashfs" diff --git a/live-build/ubuntu-server/includes.binary/overlay/usr/lib/systemd/system/subiquity_autoinstall.mount b/live-build/ubuntu-server/includes.binary/overlay/usr/lib/systemd/system/subiquity_autoinstall.mount deleted file mode 100644 index ae45838e..00000000 --- a/live-build/ubuntu-server/includes.binary/overlay/usr/lib/systemd/system/subiquity_autoinstall.mount +++ /dev/null @@ -1,4 +0,0 @@ -[Mount] -What=/dev/disk/by-label/autoinstall -Where=/autoinstall -Type=ext4