diff options
author | Dirk | 2014-04-13 19:00:39 +0200 |
---|---|---|
committer | Dirk | 2014-04-13 19:00:39 +0200 |
commit | 3c21b54a6d2553723bfb4bacb7e3db7da9db697e (patch) | |
tree | 479b6fce9487369d401fc14935291fdd72b8611b /src/initramfs | |
parent | Using IFS as variable for interfaces, very clever ... NOT (IFS = field separa... (diff) | |
download | core-3c21b54a6d2553723bfb4bacb7e3db7da9db697e.tar.gz core-3c21b54a6d2553723bfb4bacb7e3db7da9db697e.tar.xz core-3c21b54a6d2553723bfb4bacb7e3db7da9db697e.zip |
Modifications required to support Ubuntu 14.04 version ...
Diffstat (limited to 'src/initramfs')
-rw-r--r-- | src/initramfs/distro-specs/ubuntu/functions-12.04 | 2 | ||||
-rw-r--r-- | src/initramfs/distro-specs/ubuntu/functions-14.04 | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/src/initramfs/distro-specs/ubuntu/functions-12.04 b/src/initramfs/distro-specs/ubuntu/functions-12.04 index e4c7dfd2..810d7c57 100644 --- a/src/initramfs/distro-specs/ubuntu/functions-12.04 +++ b/src/initramfs/distro-specs/ubuntu/functions-12.04 @@ -8,7 +8,7 @@ # # General information about OpenSLX can be found under http://openslx.org # -# Configuration script for Ubuntu 11.10 configure OpenSLX Linux stateless +# Configuration script for Ubuntu 12.04 configure OpenSLX Linux stateless # clients (merged in stage2 with ubuntu/functions-default - and loaded within # initial ramfs - stage3) It may overwrite settings from the default config # file (/etc/functions) diff --git a/src/initramfs/distro-specs/ubuntu/functions-14.04 b/src/initramfs/distro-specs/ubuntu/functions-14.04 new file mode 100644 index 00000000..f2e4e495 --- /dev/null +++ b/src/initramfs/distro-specs/ubuntu/functions-14.04 @@ -0,0 +1,27 @@ +# Copyright (c) 2014 - OpenSLX GmbH +# +# This program/file is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING +# +# If you have any feedback please consult http://openslx.org/feedback and +# send your feedback to feedback@openslx.org +# +# General information about OpenSLX can be found under http://openslx.org +# +# Configuration script for Ubuntu 14.04 configure OpenSLX Linux stateless +# clients (merged in stage2 with ubuntu/functions-default - and loaded within +# initial ramfs - stage3) It may overwrite settings from the default config +# file (/etc/functions) + +# configure hal, dbus, policykitd and services like that +config_dreshal () { +if [ "x$start_dreshal" = "xyes" ]; then + testmkd /mnt/var/lib/dbus + testmkd /mnt/var/lib/misc + rm -rf /mnt/etc/dbus-1/system.d/*etwork*anager.conf \ + /mnt/etc/dbus-1/system.d/nm-* + for dir in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d ; do + testmkd /mnt/var/lib/polkit-1/localauthority/${dir} + done +fi +} |