forked from pool/000package-groups
Fix openSUSE-MicroOS product definition
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/000package-groups?expand=0&rev=70
This commit is contained in:
parent
81a06fc00c
commit
74e1ef669f
@ -90,14 +90,14 @@ ___CREATE_PRODUCT_FILES___
|
|||||||
%post
|
%post
|
||||||
# Update from openSUSE-Tumbleweed-Kubic to openSUSE-MicroOS
|
# Update from openSUSE-Tumbleweed-Kubic to openSUSE-MicroOS
|
||||||
# Fix the baseproduct symlink and make sure, it exists
|
# Fix the baseproduct symlink and make sure, it exists
|
||||||
if [ -L /etc/products.d/baseproduct ] ; then
|
if [ -L %{_sysconfdir}/products.d/baseproduct ] ; then
|
||||||
PRODLINK=$(basename $(readlink -f /etc/products.d/baseproduct))
|
PRODLINK=$(basename $(readlink -f %{_sysconfdir}/products.d/baseproduct))
|
||||||
if [ "$PRODLINK" == "openSUSE-Tumbleweed-Kubic.prod" ]; then
|
if [ "$PRODLINK" == "openSUSE-Tumbleweed-Kubic.prod" ]; then
|
||||||
rm -f /etc/products.d/baseproduct
|
rm -f %{_sysconfdir}/products.d/baseproduct
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ ! -e /etc/products.d/baseproduct ]; then
|
if [ ! -e %{_sysconfdir}/products.d/baseproduct ]; then
|
||||||
ln -sf openSUSE-MicroOS.prod /etc/products.d/baseproduct
|
ln -sf openSUSE-MicroOS.prod %{_sysconfdir}/products.d/baseproduct
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
@ -102,7 +102,6 @@
|
|||||||
<use group="opensuse_kubic" create_pattern="false"/>
|
<use group="opensuse_kubic" create_pattern="false"/>
|
||||||
<use group="opensuse_kubic.x86_64" create_pattern="false"/>
|
<use group="opensuse_kubic.x86_64" create_pattern="false"/>
|
||||||
</media>
|
</media>
|
||||||
</mediasets>
|
|
||||||
|
|
||||||
<media type="image"
|
<media type="image"
|
||||||
flavor="appliance"
|
flavor="appliance"
|
||||||
@ -117,6 +116,8 @@
|
|||||||
name="openSUSE-Kubic-appliance" >
|
name="openSUSE-Kubic-appliance" >
|
||||||
<!-- Create no product media, but a flavor release subpackage -->
|
<!-- Create no product media, but a flavor release subpackage -->
|
||||||
</media>
|
</media>
|
||||||
|
</mediasets>
|
||||||
|
|
||||||
|
|
||||||
<xi:include href="opensuse_microos.group"/>
|
<xi:include href="opensuse_microos.group"/>
|
||||||
<xi:include href="opensuse_kubic.group"/>
|
<xi:include href="opensuse_kubic.group"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user