Browse Source

Display OEM installer launcher in OEM images

master
Matthias Klumpp 2 years ago
parent
commit
1d5d201fde
  1. 8
      auto/config
  2. 13
      config/includes.chroot.oem/home/pureos/.local/share/applications/pureos-live-installer.desktop

8
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/

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