live*-root platforms: create desktop installer icon

This commit is contained in:
Silvan Calarco 2015-03-26 20:47:06 +01:00
parent 9956afee6d
commit 4a9c454881
4 changed files with 20 additions and 0 deletions

View File

@ -8,6 +8,11 @@ chroot $MOUNTDIR gtk-update-icon-cache /usr/share/icons/hicolor
# FIXME: ensure alternatives are correclty set
chroot $MOUNTDIR update-alternatives-set-dri
# install icon on liveuser desktop
chroot $MOUNTDIR cp /usr/share/applications/openmamba-installer.desktop /home/liveuser/Desktop/
chroot $MOUNTDIR chmod +x /home/liveuser/Desktop/openmamba-installer.desktop
chroot $MOUNTDIR chown liveuser /home/liveuser/Desktop/openmamba-installer.desktop
# clean rpm database before doing other operations with internal rpm
# to fix cross x86/x86_64 installation error:
# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found

View File

@ -1,6 +1,11 @@
# FIXME: ensure alternatives are correclty set
chroot $MOUNTDIR update-alternatives-set-dri
# install icon on liveuser desktop
chroot $MOUNTDIR cp /usr/share/applications/openmamba-installer.desktop /home/liveuser/Desktop/
chroot $MOUNTDIR chmod +x /home/liveuser/Desktop/openmamba-installer.desktop
chroot $MOUNTDIR chown liveuser /home/liveuser/Desktop/openmamba-installer.desktop
# clean rpm database before doing other operations with internal rpm
# to fix cross x86/x86_64 installation error:
# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found

View File

@ -6,6 +6,11 @@ for f in /usr/share/applications/chromium-devel.desktop; do
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f || exit 1
done
# install icon on liveuser desktop
chroot $MOUNTDIR cp /usr/share/applications/openmamba-installer.desktop /home/liveuser/Desktop/
chroot $MOUNTDIR chmod +x /home/liveuser/Desktop/openmamba-installer.desktop
chroot $MOUNTDIR chown liveuser /home/liveuser/Desktop/openmamba-installer.desktop
# clean rpm database before doing other operations with internal rpm
# to fix cross x86/x86_64 installation error:
# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found

View File

@ -6,6 +6,11 @@ for f in /usr/share/applications/chromium-devel.desktop /opt/kde/share/applicati
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
done
# install icon on liveuser desktop
chroot $MOUNTDIR cp /usr/share/applications/openmamba-installer.desktop /home/liveuser/Desktop/
chroot $MOUNTDIR chmod +x /home/liveuser/Desktop/openmamba-installer.desktop
chroot $MOUNTDIR chown liveuser /home/liveuser/Desktop/openmamba-installer.desktop
# clean rpm database before doing other operations with internal rpm
# to fix cross x86/x86_64 installation error:
# error: db4 error(-30986) from dbcursor->get: DB_PAGE_NOTFOUND: Requested page not found