diff --git a/auto/config b/auto/config index 064c850..7048bf7 100755 --- a/auto/config +++ b/auto/config @@ -91,6 +91,9 @@ case "$arch" in ;; esac +rm -rf config/includes.chroot +mkdir -p config/includes.chroot + case "$IMAGE_TYPE" in "live"|"LIVE") @@ -151,6 +154,11 @@ EOF ;; esac + # add OEM extra files + cp -r config/includes.chroot.oem/home config/includes.chroot/home + # fix permissions + chmod go+rX config/includes.chroot/home + rm -f config/hooks/normal/004-setup-oem.hook.chroot cp config/hooks.oem/004-setup-oem.hook.chroot config/hooks/normal/ diff --git a/config/includes.chroot.oem/home/pureos/.local/share/applications/pureos-live-installer.desktop b/config/includes.chroot.oem/home/pureos/.local/share/applications/pureos-live-installer.desktop new file mode 100644 index 0000000..c1ae18e --- /dev/null +++ b/config/includes.chroot.oem/home/pureos/.local/share/applications/pureos-live-installer.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Install PureOS (OEM) +GenericName=PureOS OEM Installer +Comment=Install the operating system to disk +TryExec=pureos-oem-installer +Exec=pureos-oem-installer +Icon=calamares +Terminal=false +StartupNotify=false +Categories=System; +X-AppStream-Ignore=true