Display OEM installer launcher in OEM images

master
Matthias Klumpp 5 years ago
parent a183042b56
commit 1d5d201fde

@ -91,6 +91,9 @@ case "$arch" in
;; ;;
esac esac
rm -rf config/includes.chroot
mkdir -p config/includes.chroot
case "$IMAGE_TYPE" in case "$IMAGE_TYPE" in
"live"|"LIVE") "live"|"LIVE")
@ -151,6 +154,11 @@ EOF
;; ;;
esac 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 rm -f config/hooks/normal/004-setup-oem.hook.chroot
cp config/hooks.oem/004-setup-oem.hook.chroot config/hooks/normal/ cp config/hooks.oem/004-setup-oem.hook.chroot config/hooks/normal/

@ -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
Loading…
Cancel
Save