Merge branch 'hvm' of 10.141.1.101:/var/lib/qubes/git/marmarek/core into hvm
This commit is contained in:
commit
b3604d94fb
@ -1,4 +1,4 @@
|
|||||||
.*/repodata/[A-Za-z0-9-]*\(primary\|filelist\|comps\(-[a-z0-9]*\)\?\|other\|prestodelta\)\.\(sqlite\|xml\)\(\.bz2\|\.gz\)\?$
|
.*/repodata/[A-Za-z0-9-]*\(primary\|filelist\|comps\(-[a-z0-9]*\)\?\|other\|prestodelta\|updateinfo\)\.\(sqlite\|xml\)\(\.bz2\|\.gz\)\?$
|
||||||
.*/repodata/repomd\.xml$
|
.*/repodata/repomd\.xml$
|
||||||
.*\.rpm$
|
.*\.rpm$
|
||||||
.*\.drpm$
|
.*\.drpm$
|
||||||
|
@ -179,6 +179,9 @@ install -D u2mfn/libu2mfn.so $RPM_BUILD_ROOT/%{_libdir}/libu2mfn.so
|
|||||||
%triggerin -- initscripts
|
%triggerin -- initscripts
|
||||||
cp /usr/lib/qubes/serial.conf /etc/init/serial.conf
|
cp /usr/lib/qubes/serial.conf /etc/init/serial.conf
|
||||||
|
|
||||||
|
%triggerin -- systemd
|
||||||
|
mv -f /%{_lib}/security/pam_systemd.so /%{_lib}/security/pam_systemd.so.disabled
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
# disable some Upstart services
|
# disable some Upstart services
|
||||||
@ -246,6 +249,12 @@ if ! [ -e /lib/firmware/updates ]; then
|
|||||||
ln -s /lib/modules/firmware /lib/firmware/updates
|
ln -s /lib/modules/firmware /lib/firmware/updates
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Disable pam_systemd - we (hopefully) don't need it, but it cause some minor
|
||||||
|
# problems (http://wiki.qubes-os.org/trac/ticket/607)
|
||||||
|
# /etc/pam.d/common-* are automatically (re)generated by authconfig, so its
|
||||||
|
# modification will not be persistent -> must be done this way
|
||||||
|
mv -f /%{_lib}/security/pam_systemd.so /%{_lib}/security/pam_systemd.so.disabled
|
||||||
|
|
||||||
if ! grep -q '/etc/yum\.conf\.d/qubes-proxy\.conf'; then
|
if ! grep -q '/etc/yum\.conf\.d/qubes-proxy\.conf'; then
|
||||||
echo >> /etc/yum.conf
|
echo >> /etc/yum.conf
|
||||||
echo '# Yum does not support inclusion of config dir...' >> /etc/yum.conf
|
echo '# Yum does not support inclusion of config dir...' >> /etc/yum.conf
|
||||||
@ -320,6 +329,7 @@ if [ "$1" = 0 ] ; then
|
|||||||
mv /var/lib/qubes/fstab.orig /etc/fstab
|
mv /var/lib/qubes/fstab.orig /etc/fstab
|
||||||
mv /var/lib/qubes/removed-udev-scripts/* /etc/udev/rules.d/
|
mv /var/lib/qubes/removed-udev-scripts/* /etc/udev/rules.d/
|
||||||
mv /var/lib/qubes/serial.orig /etc/init/serial.conf
|
mv /var/lib/qubes/serial.orig /etc/init/serial.conf
|
||||||
|
mv /%{_lib}/security/pam_systemd.so.disabled /%{_lib}/security/pam_systemd.so
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
@ -549,6 +559,10 @@ done
|
|||||||
|
|
||||||
/bin/systemctl enable qubes-update-check.timer 2> /dev/null
|
/bin/systemctl enable qubes-update-check.timer 2> /dev/null
|
||||||
|
|
||||||
|
# Disable D-BUS activation of NetworkManager - in AppVm it causes problems (eg PackageKit timeouts)
|
||||||
|
/bin/systemctl disable NetworkManager.service 2> /dev/null
|
||||||
|
/bin/systemctl mask dbus-org.freedesktop.NetworkManager.service 2> /dev/null
|
||||||
|
|
||||||
# Install overriden services only when original exists
|
# Install overriden services only when original exists
|
||||||
for srv in cups NetworkManager ntpd; do
|
for srv in cups NetworkManager ntpd; do
|
||||||
if [ -f /lib/systemd/system/$srv.service ]; then
|
if [ -f /lib/systemd/system/$srv.service ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user