- Avoid enabling readahead services; they have been removed.
[fixes getty-tty1 not appearing in openqa] - In %install, only process kbd-model-map.xkb-generated if it exists. Resolves a build failure in 13.2/42.1. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=923
This commit is contained in:
parent
32c90e1ca8
commit
b52695e0bf
@ -3,6 +3,13 @@ Mon Dec 21 16:25:44 UTC 2015 - fbui@suse.com
|
|||||||
|
|
||||||
- Make sure we don't use tmpfs on /tmp by default (bsc#940522)
|
- Make sure we don't use tmpfs on /tmp by default (bsc#940522)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 21 10:07:38 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Avoid enabling readahead services; they have been removed.
|
||||||
|
- In %install, only process kbd-model-map.xkb-generated if it
|
||||||
|
exists. Resolves a build failure in 13.2/42.1.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 30 13:59:52 UTC 2015 - thomas.blume@suse.com
|
Mon Nov 30 13:59:52 UTC 2015 - thomas.blume@suse.com
|
||||||
|
|
||||||
|
@ -891,8 +891,10 @@ done
|
|||||||
# add entries for xkeyboard-config converted keymaps; mappings,
|
# add entries for xkeyboard-config converted keymaps; mappings,
|
||||||
# which already exist in original systemd mapping table are being
|
# which already exist in original systemd mapping table are being
|
||||||
# ignored though, i.e. not overwritten
|
# ignored though, i.e. not overwritten
|
||||||
|
if [ -f /usr/share/systemd/kbd-model-map.xkb-generated ]; then
|
||||||
cat /usr/share/systemd/kbd-model-map.xkb-generated \
|
cat /usr/share/systemd/kbd-model-map.xkb-generated \
|
||||||
>> %{buildroot}//usr/share/systemd/kbd-model-map
|
>>"%buildroot/usr/share/systemd/kbd-model-map"
|
||||||
|
fi
|
||||||
|
|
||||||
%find_lang systemd
|
%find_lang systemd
|
||||||
|
|
||||||
@ -949,11 +951,12 @@ fi
|
|||||||
# Later package updates should not overwrite these settings.
|
# Later package updates should not overwrite these settings.
|
||||||
if [ "$1" -eq 1 ]; then
|
if [ "$1" -eq 1 ]; then
|
||||||
# Enable these services by default.
|
# Enable these services by default.
|
||||||
/usr/bin/systemctl enable \
|
# Specifying multiple units can cause the entire operation to not
|
||||||
getty@tty1.service \
|
# execute if one of them is missing, so run systemctl with one unit
|
||||||
systemd-readahead-collect.service \
|
# at a time only.
|
||||||
systemd-readahead-replay.service \
|
for i in getty@tty1.service remote-fs.target; do
|
||||||
remote-fs.target || :
|
/usr/bin/systemctl enable "$i" || :
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# since v207 /etc/sysctl.conf is no longer parsed, however
|
# since v207 /etc/sysctl.conf is no longer parsed, however
|
||||||
|
@ -3,6 +3,13 @@ Mon Dec 21 16:25:44 UTC 2015 - fbui@suse.com
|
|||||||
|
|
||||||
- Make sure we don't use tmpfs on /tmp by default (bsc#940522)
|
- Make sure we don't use tmpfs on /tmp by default (bsc#940522)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 21 10:07:38 UTC 2015 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Avoid enabling readahead services; they have been removed.
|
||||||
|
- In %install, only process kbd-model-map.xkb-generated if it
|
||||||
|
exists. Resolves a build failure in 13.2/42.1.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 30 13:59:52 UTC 2015 - thomas.blume@suse.com
|
Mon Nov 30 13:59:52 UTC 2015 - thomas.blume@suse.com
|
||||||
|
|
||||||
|
15
systemd.spec
15
systemd.spec
@ -886,8 +886,10 @@ done
|
|||||||
# add entries for xkeyboard-config converted keymaps; mappings,
|
# add entries for xkeyboard-config converted keymaps; mappings,
|
||||||
# which already exist in original systemd mapping table are being
|
# which already exist in original systemd mapping table are being
|
||||||
# ignored though, i.e. not overwritten
|
# ignored though, i.e. not overwritten
|
||||||
|
if [ -f /usr/share/systemd/kbd-model-map.xkb-generated ]; then
|
||||||
cat /usr/share/systemd/kbd-model-map.xkb-generated \
|
cat /usr/share/systemd/kbd-model-map.xkb-generated \
|
||||||
>> %{buildroot}//usr/share/systemd/kbd-model-map
|
>>"%buildroot/usr/share/systemd/kbd-model-map"
|
||||||
|
fi
|
||||||
|
|
||||||
%find_lang systemd
|
%find_lang systemd
|
||||||
|
|
||||||
@ -944,11 +946,12 @@ fi
|
|||||||
# Later package updates should not overwrite these settings.
|
# Later package updates should not overwrite these settings.
|
||||||
if [ "$1" -eq 1 ]; then
|
if [ "$1" -eq 1 ]; then
|
||||||
# Enable these services by default.
|
# Enable these services by default.
|
||||||
/usr/bin/systemctl enable \
|
# Specifying multiple units can cause the entire operation to not
|
||||||
getty@tty1.service \
|
# execute if one of them is missing, so run systemctl with one unit
|
||||||
systemd-readahead-collect.service \
|
# at a time only.
|
||||||
systemd-readahead-replay.service \
|
for i in getty@tty1.service remote-fs.target; do
|
||||||
remote-fs.target || :
|
/usr/bin/systemctl enable "$i" || :
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# since v207 /etc/sysctl.conf is no longer parsed, however
|
# since v207 /etc/sysctl.conf is no longer parsed, however
|
||||||
|
Loading…
Reference in New Issue
Block a user