mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-13 22:28:27 +00:00
Imported 2.563
No reason for CPC update specified.
This commit is contained in:
parent
825e1919da
commit
03555fb0c0
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (2.563) disco; urgency=medium
|
||||
|
||||
* Make sure buildd images have a /usr/sbin/policy-rc.d symlink.
|
||||
|
||||
-- Colin Watson <cjwatson@ubuntu.com> Mon, 18 Feb 2019 15:57:11 +0000
|
||||
|
||||
livecd-rootfs (2.562) disco; urgency=medium
|
||||
|
||||
* subiquity: make subiqutiy_config.mount optional
|
||||
|
13
live-build/buildd/hooks/01-policy-rc-d.binary
Executable file
13
live-build/buildd/hooks/01-policy-rc-d.binary
Executable file
@ -0,0 +1,13 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
# Put the /usr/sbin/policy-rc.d alternatives symlink in place. Ordinarily
|
||||
# update-alternatives ought to create this when policyrcd-script-zg2 is
|
||||
# installed, but that doesn't work because live-build has already installed
|
||||
# a dummy one at that point. The simplest approach is to repair the
|
||||
# situation by putting it in place here.
|
||||
if [ -L binary/etc/alternatives/policy-rc.d ] && \
|
||||
[ ! -e binary/usr/sbin/policy-rc.d ] && \
|
||||
[ ! -L binary/usr/sbin/policy-rc.d ]; then
|
||||
ln -s /etc/alternatives/policy-rc.d binary/usr/sbin/policy-rc.d
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user