From 2f0ee5fb374fedaa1b67112ecbcd75ecd7b3e957 Mon Sep 17 00:00:00 2001 From: Hugo Ferreira Date: Sat, 18 Jan 2014 23:27:52 +0000 Subject: [PATCH 1/3] Update config to support LXC (Linux Containers) These configurations enable usage of `lxc` and `docker` in the raspberrypi. The flags were chosen by running `lxc-checkconfig` and activating the missing features. This is the result of `lxc-checkconfig` before these changes: ``` --- Namespaces --- Namespaces: enabled Utsname namespace: enabled Ipc namespace: enabled Pid namespace: enabled User namespace: missing Network namespace: enabled Multiple /dev/pts instances: missing --- Control groups --- Cgroup: enabled Cgroup clone_children flag: enabled Cgroup device: enabled Cgroup sched: enabled Cgroup cpu account: enabled Cgroup memory controller: enabled --- Misc --- Veth pair device: missing Macvlan: enabled Vlan: enabled File capabilities: enabled ``` --- core/linux-raspberrypi-latest/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/linux-raspberrypi-latest/config b/core/linux-raspberrypi-latest/config index bac10f705..cec461a16 100644 --- a/core/linux-raspberrypi-latest/config +++ b/core/linux-raspberrypi-latest/config @@ -128,7 +128,7 @@ CONFIG_BLK_CGROUP=y CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y -# CONFIG_USER_NS is not set +CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y # CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set @@ -1322,7 +1322,7 @@ CONFIG_NETPOLL=y # CONFIG_NETPOLL_TRAP is not set CONFIG_NET_POLL_CONTROLLER=y CONFIG_TUN=m -# CONFIG_VETH is not set +CONFIG_VETH=m # CONFIG_NLMON is not set # @@ -1742,7 +1742,7 @@ CONFIG_VT_CONSOLE_SLEEP=y CONFIG_HW_CONSOLE=y CONFIG_VT_HW_CONSOLE_BINDING=y CONFIG_UNIX98_PTYS=y -# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set +CONFIG_DEVPTS_MULTIPLE_INSTANCES=y # CONFIG_LEGACY_PTYS is not set # CONFIG_SERIAL_NONSTANDARD is not set # CONFIG_N_GSM is not set From cd16628e0bddc1f292b8db9929e19f4c31158add Mon Sep 17 00:00:00 2001 From: Hugo Ferreira Date: Sun, 19 Jan 2014 19:53:04 +0000 Subject: [PATCH 2/3] Bumped pkgrel and fixed md5sum for config. --- core/linux-raspberrypi-latest/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/linux-raspberrypi-latest/PKGBUILD b/core/linux-raspberrypi-latest/PKGBUILD index a296a43b7..e00aa0047 100644 --- a/core/linux-raspberrypi-latest/PKGBUILD +++ b/core/linux-raspberrypi-latest/PKGBUILD @@ -9,7 +9,7 @@ _srcname=linux-${_commit} _kernelname=${pkgbase#linux} _desc="Raspberry Pi" pkgver=3.12.7 -pkgrel=2 +pkgrel=3 bfqver=v6r2 uksmver="0.1.2.2" uksmname="v3.12" @@ -33,7 +33,7 @@ source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz" 'aufs-sources-3.12.7-mmap-aufs3.patch') md5sums=('c18af969521e3149fe1e224f5a43fe7a' - '6e440c812b4d7b28241e21e4d653ecd9' + 'e7cc176bd06554b2a45703553af929f8' 'c0d63f4d42fd334bf31e4f749d4694f3' '9335d1263fd426215db69841a380ea26' 'a00e424e2fbb8c5a5f77ba2c4871bed4' From 9b463a0414b15a90e6e30b0031a160588d185c2f Mon Sep 17 00:00:00 2001 From: Hugo Ferreira Date: Sun, 19 Jan 2014 19:57:21 +0000 Subject: [PATCH 3/3] Enable Thin Provisioning --- core/linux-raspberrypi-latest/PKGBUILD | 2 +- core/linux-raspberrypi-latest/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/linux-raspberrypi-latest/PKGBUILD b/core/linux-raspberrypi-latest/PKGBUILD index e00aa0047..c41779366 100644 --- a/core/linux-raspberrypi-latest/PKGBUILD +++ b/core/linux-raspberrypi-latest/PKGBUILD @@ -33,7 +33,7 @@ source=("https://github.com/raspberrypi/linux/archive/${_commit}.tar.gz" 'aufs-sources-3.12.7-mmap-aufs3.patch') md5sums=('c18af969521e3149fe1e224f5a43fe7a' - 'e7cc176bd06554b2a45703553af929f8' + '36c242c10ef6679d0418995af359dcd3' 'c0d63f4d42fd334bf31e4f749d4694f3' '9335d1263fd426215db69841a380ea26' 'a00e424e2fbb8c5a5f77ba2c4871bed4' diff --git a/core/linux-raspberrypi-latest/config b/core/linux-raspberrypi-latest/config index cec461a16..f503f1d15 100644 --- a/core/linux-raspberrypi-latest/config +++ b/core/linux-raspberrypi-latest/config @@ -1285,7 +1285,7 @@ CONFIG_BLK_DEV_DM=y # CONFIG_DM_DEBUG is not set CONFIG_DM_CRYPT=y CONFIG_DM_SNAPSHOT=m -# CONFIG_DM_THIN_PROVISIONING is not set +CONFIG_DM_THIN_PROVISIONING=y # CONFIG_DM_CACHE is not set CONFIG_DM_MIRROR=y CONFIG_DM_RAID=y