diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:54 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:19:54 +0200 |
commit | c158582c0fc7f4bd73980fe9adad446855f4d61b (patch) | |
tree | 31b701a2367cb983e76e76cd7c2ba176ad33e5ac /recipes-core/base-files | |
download | meta-vt-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-core/base-files')
-rw-r--r-- | recipes-core/base-files/base-files_3.0.14.bbappend | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend new file mode 100644 index 0000000..98b5395 --- /dev/null +++ b/recipes-core/base-files/base-files_3.0.14.bbappend | |||
@@ -0,0 +1,13 @@ | |||
1 | do_install_append() { | ||
2 | # Add cgroups to /etc/fstab | ||
3 | echo "# For LXC" >> ${D}${sysconfdir}/fstab | ||
4 | echo "cgroup /sys/fs/cgroup tmpfs defaults 0 0" >> ${D}${sysconfdir}/fstab | ||
5 | echo "cpuset /sys/fs/cgroup/cpuset cgroup cpuset,noauto 0 0" >> ${D}${sysconfdir}/fstab | ||
6 | echo "cpuacct /sys/fs/cgroup/cpu,cpuacct cgroup cpuacct,cpu,noauto 0 0" >> ${D}${sysconfdir}/fstab | ||
7 | echo "devices /sys/fs/cgroup/devices cgroup devices,noauto 0 0" >> ${D}${sysconfdir}/fstab | ||
8 | echo "freezer /sys/fs/cgroup/freezer cgroup freezer,noauto 0 0" >> ${D}${sysconfdir}/fstab | ||
9 | echo "memory /sys/fs/cgroup/memory cgroup memory,noauto 0 0" >> ${D}${sysconfdir}/fstab | ||
10 | # Fix for multiple dnsmasq instances when using libvirt. | ||
11 | echo "interface=eth0" >> ${D}${sysconfdir}/dnsmasq.conf | ||
12 | echo "bind-interfaces" >> ${D}${sysconfdir}/dnsmasq.conf | ||
13 | } | ||