diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:57:02 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:57:02 +0200 |
commit | 74d51c8c3e18a8b6738aff0c6f7ff706fd70eaa6 (patch) | |
tree | d4b576b12f8fe930ac8a76056ecaa356ec0ec133 /recipes-core/base-files/base-files_3.0.14.bbappend | |
download | meta-vt-daisy-enea.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-core/base-files/base-files_3.0.14.bbappend')
-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 | } | ||