mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-12 11:22:09 +00:00
Import patches-unapplied version 2.191 to ubuntu/saucy-proposed
Imported using git-ubuntu import. Changelog parent: 17d25fe43c40688f2d12a5c6d3604ca9a4869fa6 New changelog entries: * ubuntu-touch: Make writable symlinks relative. * ubuntu-touch: Add 03-etc-writable.chroot hook to move/symlink files in /etc to /etc/writable/ that we need to update atomically. At the moment these are timezone and localtime. (LP: #1227520)
This commit is contained in:
parent
17d25fe43c
commit
553526f375
14
debian/changelog
vendored
14
debian/changelog
vendored
@ -1,3 +1,17 @@
|
|||||||
|
livecd-rootfs (2.191) saucy; urgency=low
|
||||||
|
|
||||||
|
* ubuntu-touch: Make writable symlinks relative.
|
||||||
|
|
||||||
|
-- Martin Pitt <martin.pitt@ubuntu.com> Mon, 30 Sep 2013 13:59:59 +0200
|
||||||
|
|
||||||
|
livecd-rootfs (2.190) saucy; urgency=low
|
||||||
|
|
||||||
|
* ubuntu-touch: Add 03-etc-writable.chroot hook to move/symlink files in
|
||||||
|
/etc to /etc/writable/ that we need to update atomically. At the moment
|
||||||
|
these are timezone and localtime. (LP: #1227520)
|
||||||
|
|
||||||
|
-- Martin Pitt <martin.pitt@ubuntu.com> Mon, 30 Sep 2013 13:32:32 +0200
|
||||||
|
|
||||||
livecd-rootfs (2.189) saucy; urgency=low
|
livecd-rootfs (2.189) saucy; urgency=low
|
||||||
|
|
||||||
* Explicitly add the ubuntu-desktop task to Edubuntu builds, so that any
|
* Explicitly add the ubuntu-desktop task to Edubuntu builds, so that any
|
||||||
|
14
live-build/ubuntu-touch/hooks/03-etc-writable.chroot
Executable file
14
live-build/ubuntu-touch/hooks/03-etc-writable.chroot
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
mkdir -p /etc/writable
|
||||||
|
|
||||||
|
for f in timezone localtime; do
|
||||||
|
if [ -e /etc/$f ]; then
|
||||||
|
echo "I: Moving /etc/$f to /etc/writable/"
|
||||||
|
mv /etc/$f /etc/writable/$f
|
||||||
|
fi
|
||||||
|
echo "I: Linking /etc/$f to /etc/writable/"
|
||||||
|
ln -s writable/$f /etc/$f
|
||||||
|
done
|
Loading…
x
Reference in New Issue
Block a user