Move symlink creation out of citadel-config package.

Gnome icon cache generation was following these symlinks
to real filesystem. Moved to a postprocess handler in
the image recipe so they get created later.
This commit is contained in:
Bruce Leidl 2019-01-02 13:23:45 -05:00
parent 227ced177f
commit 30f15ddde2
2 changed files with 9 additions and 9 deletions

View File

@ -125,15 +125,6 @@ do_install() {
install -d ${D}${libdir}/firmware install -d ${D}${libdir}/firmware
install -d ${D}${datadir}/backgrounds install -d ${D}${datadir}/backgrounds
install -d ${D}/opt/share install -d ${D}/opt/share
ln -sf /opt/share/themes/Adapta ${D}/usr/share/themes/Adapta
ln -sf /opt/share/themes/Adapta-Eta ${D}/usr/share/themes/Adapta-Eta
ln -sf /opt/share/themes/Adapta-Nokto ${D}/usr/share/themes/Adapta-Nokto
ln -sf /opt/share/themes/Adapta-Nokto-Eta ${D}/usr/share/themes/Adapta-Nokto-Eta
ln -sf /opt/share/icons/Paper ${D}/usr/share/icons/Paper
ln -sf /opt/share/icons/Adwaita ${D}/usr/share/icons/Adwaita
ln -sf /opt/share/backgrounds/gnome ${D}/usr/share/backgrounds/gnome
ln -sf /opt/share/gnome-background-properties ${D}/usr/share/gnome-background-properties
} }
FILES_${PN} = "/" FILES_${PN} = "/"

View File

@ -55,6 +55,15 @@ setup_var() {
rm ${IMAGE_ROOTFS}/usr/share/gnome-shell/gnome-shell-theme.gresource rm ${IMAGE_ROOTFS}/usr/share/gnome-shell/gnome-shell-theme.gresource
ln -sf /opt/share/themes/Adapta/gnome-shell/gnome-shell-theme.gresource ${IMAGE_ROOTFS}/usr/share/gnome-shell/gnome-shell-theme.gresource ln -sf /opt/share/themes/Adapta/gnome-shell/gnome-shell-theme.gresource ${IMAGE_ROOTFS}/usr/share/gnome-shell/gnome-shell-theme.gresource
ln -sf /opt/share/themes/Adapta ${IMAGE_ROOTFS}/usr/share/themes/Adapta
ln -sf /opt/share/themes/Adapta-Eta ${IMAGE_ROOTFS}/usr/share/themes/Adapta-Eta
ln -sf /opt/share/themes/Adapta-Nokto ${IMAGE_ROOTFS}/usr/share/themes/Adapta-Nokto
ln -sf /opt/share/themes/Adapta-Nokto-Eta ${IMAGE_ROOTFS}/usr/share/themes/Adapta-Nokto-Eta
ln -sf /opt/share/icons/Paper ${IMAGE_ROOTFS}/usr/share/icons/Paper
ln -sf /opt/share/icons/Adwaita ${IMAGE_ROOTFS}/usr/share/icons/Adwaita
ln -sf /opt/share/backgrounds/gnome ${IMAGE_ROOTFS}/usr/share/backgrounds/gnome
ln -sf /opt/share/gnome-background-properties ${IMAGE_ROOTFS}/usr/share/gnome-background-properties
# do_rootfs() will fail otherwise # do_rootfs() will fail otherwise
ln -sf ../usr/share/factory/var/lib ${IMAGE_ROOTFS}/var/lib ln -sf ../usr/share/factory/var/lib ${IMAGE_ROOTFS}/var/lib
} }