mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 03:11:12 +00:00
Add hostname and machine-info to the writable paths, so that hostnamectl
can change them to create a sane default bluetooth device name.
This commit is contained in:
commit
b646083ad7
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.203) UNRELEASED; urgency=medium
|
||||
|
||||
* Add hostname and machine-info to the writable paths, so that hostnamectl
|
||||
can change them to create a sane default bluetooth device name.
|
||||
|
||||
-- Chris Wayne <chris.wayne@canonical.com> Mon, 20 Jan 2014 15:25:29 +0100
|
||||
|
||||
livecd-rootfs (2.202) trusty; urgency=medium
|
||||
|
||||
* Add the minimal task to ubuntu-core to preserve brand consistency.
|
||||
|
@ -3,8 +3,9 @@ set -e
|
||||
set -x
|
||||
|
||||
mkdir -p /etc/writable
|
||||
touch /etc/writable/machine-info
|
||||
|
||||
for f in timezone localtime; do
|
||||
for f in timezone localtime machine-info hostname; do
|
||||
if [ -e /etc/$f ]; then
|
||||
echo "I: Moving /etc/$f to /etc/writable/"
|
||||
mv /etc/$f /etc/writable/$f
|
||||
|
Loading…
x
Reference in New Issue
Block a user