forked from pool/livecd-openSUSE
Fix pre-checkin.sh format and add missing function
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Images:openSUSE-Tumbleweed/livecd-openSUSE?expand=0&rev=20
This commit is contained in:
parent
4ed24fa169
commit
6af7720167
@ -51,7 +51,6 @@
|
||||
<package name="live-langset-data"/>
|
||||
<package name="live-add-yast-repos"/>
|
||||
<archive name="livecd-udev.tar.xz"/>
|
||||
<archive name="xfce-changecontrolxml.tar.xz"/>
|
||||
|
||||
<!-- list-common.sh -->
|
||||
<package name="aaa_base" replaces="gutenprint"/>
|
||||
@ -359,6 +358,7 @@
|
||||
<package name="aaa_base" replaces="fprintd"/>
|
||||
<ignore name="fprintd"/>
|
||||
<package name="libxslt-tools"/>
|
||||
<archive name="xfce-changecontrolxml.tar.xz"/>
|
||||
<package name="aaa_base" replaces="sound-juicer"/>
|
||||
<ignore name="sound-juicer"/>
|
||||
<package name="aaa_base" replaces="remmina"/>
|
||||
|
@ -26,6 +26,10 @@ installPattern() {
|
||||
PACKAGES="$PACKAGES\n <namedCollection name=\"$1\"/>"
|
||||
}
|
||||
|
||||
archive() {
|
||||
PACKAGES="$PACKAGES\n <archive name=\"$1\"/>"
|
||||
}
|
||||
|
||||
for distro in leap tumbleweed; do
|
||||
distroname="openSUSE Tumbleweed"
|
||||
if [ "${distro}" = "leap" ]; then
|
||||
@ -35,22 +39,22 @@ for distro in leap tumbleweed; do
|
||||
for flavor in gnome kde xfce x11; do
|
||||
uppercaseflavor="$(echo "${flavor}" | tr a-z A-Z)"
|
||||
|
||||
if [ "${flavor}" = "x11" ]; then
|
||||
name="${distroname} Rescue CD"
|
||||
else
|
||||
name="${distroname} ${uppercaseflavor} Live"
|
||||
fi
|
||||
if [ "${flavor}" = "x11" ]; then
|
||||
name="${distroname} Rescue CD"
|
||||
else
|
||||
name="${distroname} ${uppercaseflavor} Live"
|
||||
fi
|
||||
|
||||
PACKAGES="\n <!-- list-common.sh -->"
|
||||
. "$PWD/list-common.sh"
|
||||
PACKAGES="$PACKAGES\n\n <!-- list-${flavor}.sh -->"
|
||||
. "$PWD/list-${flavor}.sh"
|
||||
PACKAGES="\n <!-- list-common.sh -->"
|
||||
. "$PWD/list-common.sh"
|
||||
PACKAGES="$PACKAGES\n\n <!-- list-${flavor}.sh -->"
|
||||
. "$PWD/list-${flavor}.sh"
|
||||
|
||||
[ "${flavor}" = "xfce" -a "${distro}" = "leap" ] && continue # Prevent creation of livecd-leap-xfce.kiwi
|
||||
[ "${flavor}" = "xfce" -a "${distro}" = "leap" ] && continue # Prevent creation of livecd-leap-xfce.kiwi
|
||||
sed "s#@FLAVOR@#${flavor}#g;\
|
||||
s#@NAME@#${name// /-}#g;\
|
||||
s#@DISPLAYNAME@#${name}#g;\
|
||||
s#@VOLID@#${name// /_}#g;\
|
||||
s#@PACKAGES@#${PACKAGES}#g;" livecd.kiwi.in > livecd-${distro}-${flavor}.kiwi
|
||||
s#@NAME@#${name// /-}#g;\
|
||||
s#@DISPLAYNAME@#${name}#g;\
|
||||
s#@VOLID@#${name// /_}#g;\
|
||||
s#@PACKAGES@#${PACKAGES}#g;" livecd.kiwi.in > livecd-${distro}-${flavor}.kiwi
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user