diff --git a/auto/config b/auto/config index b513070..b995daa 100755 --- a/auto/config +++ b/auto/config @@ -117,6 +117,9 @@ EOF ;; esac + rm -f config/hooks/normal/004-setup-oem.hook.chroot + rm -rf config/includes.chroot + rm -rf config/bootloaders/isolinux cp -r config/bootloaders/isolinux.live/ config/bootloaders/isolinux ;; @@ -145,6 +148,9 @@ EOF ;; esac + rm -f config/hooks/normal/004-setup-oem.hook.chroot + cp config/hooks.oem/004-setup-oem.hook.chroot config/hooks/normal/ + rm -rf config/bootloaders/isolinux/ cp -r config/bootloaders/isolinux.oem config/bootloaders/isolinux ;; diff --git a/config/hooks.oem/004-setup-oem.hook.chroot b/config/hooks.oem/004-setup-oem.hook.chroot index ae31d8a..9f595ca 100755 --- a/config/hooks.oem/004-setup-oem.hook.chroot +++ b/config/hooks.oem/004-setup-oem.hook.chroot @@ -1,16 +1,6 @@ #!/bin/sh set -e -OEM_DIR=/var/lib/pureos-oem/ - -mkdir -p $OEM_DIR -cd $OEM_DIR - -apt install -y ca-certificates - -# d-i components -wget https://repo.pureos.net/pureos/dists/green/main/installer-amd64/current/images/hd-media/gtk/initrd.gz -wget https://repo.pureos.net/pureos/dists/green/main/installer-amd64/current/images/hd-media/gtk/vmlinuz - -# PureOS image -wget --progress=dot:giga -O pureos.iso https://downloads.puri.sm/live/gnome/2018-01-20/pureos-8.0-gnome-live_20180120-amd64.hybrid.iso +# hide non-OEM install options from menus +rm -f /usr/share/applications/calamares.desktop +rm -f /usr/share/applications/pureos-live-installer.desktop