Skip to contentSkip to conversation

Pull request for branch for-2012.05/package-fixes

GIT PULL New Maxime Ripard 2 participants 9 messages Apr 18, 2012 – Apr 20, 2012

lore
Share & tools
lore
#0 lore raw

The following changes since commit e5ece0d8eebf2f908b952141130664d3a6430f67:

Add apr-package (2012-04-17 16:44:19 +0200)

are available in the git repository at:
git://git.free-electrons.com/users/maxime-ripard/buildroot.git for-2012.05/package-fixes

Maxime Ripard (3):
Fix systemd failure with lock files
Fix systemd failure with media devices
Fix qt samples dependency on QtGUI

 fs/skeleton/etc/group      |    1 +
 package/qt/Config.in       |    1 +
 package/systemd/systemd.mk |    5 +++++
 3 files changed, 7 insertions(+), 0 deletions(-)

Thanks,

Signature · 1 line
Maxime Ripard
#1 lore raw

PATCH 1/3 Fix systemd failure with lock files

Systemd introduced a new policy described here:
http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html

Add the "lock" group to buildroot to allow systemd to set this in place at boot time

---
 fs/skeleton/etc/group |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/skeleton/etc/group +1 -0
index 311a455..cd4ca79 100644
@@ -9,6 +9,7 @@ wheel:x:10:root
 audio:x:29:
 utmp:x:43:
 staff:x:50:
+lock:x:54:
 haldaemon:x:68:
 dbus:x:81:
 netdev:x:82:
Signature · 1 line
1.7.5.4
#2 lore raw

PATCH 1/3 Fix systemd failure with lock files

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Ripard <[email protected]> writes:

Maxime> Systemd introduced a new policy described here:
Maxime> http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html

Maxime> Add the "lock" group to buildroot to allow systemd to set this Maxime> in place at boot time

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 2/3 Fix systemd failure with media devices

In reply to Maxime Ripard
---
 package/systemd/systemd.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
package/systemd/systemd.mk +5 -0
index 717bdcc..83800c5 100644
@@ -64,8 +64,13 @@ define SYSTEMD_INSTALL_TTY_HOOK
 	ln -fs ../../../../usr/lib/systemd/system/serial-getty at .service $(TARGET_DIR)/etc/systemd/system/getty.target.wants/serial-getty@$(BR2_TARGET_GENERIC_GETTY_PORT).service
 endef
 
+define SYSTEMD_INSTALL_MISC
+	mkdir -p $(TARGET_DIR)/media
+endef
+
 SYSTEMD_POST_INSTALL_TARGET_HOOKS += \
 	SYSTEMD_INSTALL_INIT_HOOK \
 	SYSTEMD_INSTALL_TTY_HOOK \
+	SYSTEMD_INSTALL_MISC \
 
 $(eval $(call AUTOTARGETS))
Signature · 1 line
1.7.5.4
#4 lore raw

PATCH 2/3 Fix systemd failure with media devices

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Ripard <[email protected]> writes:

Maxime> Signed-off-by: Maxime Ripard <[email protected]> Maxime> ---

 Maxime>  package/systemd/systemd.mk |    5 +++++

Maxime> 1 files changed, 5 insertions(+), 0 deletions(-)

Maxime> diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk Maxime> index 717bdcc..83800c5 100644
Maxime> --- a/package/systemd/systemd.mk
Maxime> +++ b/package/systemd/systemd.mk
Maxime> @@ -64,8 +64,13 @@ define SYSTEMD_INSTALL_TTY_HOOK
Maxime> ln -fs ../../../../usr/lib/systemd/system/serial-getty at .service $(TARGET_DIR)/etc/systemd/system/getty.target.wants/serial-getty@$(BR2_TARGET_GENERIC_GETTY_PORT).service
Maxime> endef

Maxime> +define SYSTEMD_INSTALL_MISC
Maxime> + mkdir -p $(TARGET_DIR)/media
Maxime> +endef

Why not just add that directory to the default skeleton instead like we recently did for /run?

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 1/1 Fix systemd failure with media devices

---

 0 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 fs/skeleton/media/.empty
fs/skeleton/media/.empty new file +0 -0
new file mode 100644
index 0000000..e69de29
Signature · 1 line
1.7.5.4
#6 lore raw

PATCH 1/1 Fix systemd failure with media devices

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Ripard <[email protected]> writes:

Maxime> Signed-off-by: Maxime Ripard <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#7 lore raw

PATCH 3/3 Fix qt samples dependency on QtGUI

In reply to Maxime Ripard
---
 package/qt/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
package/qt/Config.in +1 -0
index 1ce6348..88855d2 100644
@@ -19,6 +19,7 @@ config BR2_PACKAGE_QT_DEBUG
 
 config BR2_PACKAGE_QT_DEMOS
 	bool "Compile and install demos and examples (with code)"
+	select BR2_PACKAGE_QT_GUI_MODULE
 	help
 	  If unsure, say N.
 
Signature · 1 line
1.7.5.4
#8 lore raw

PATCH 3/3 Fix qt samples dependency on QtGUI

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Ripard <[email protected]> writes:

Maxime> Signed-off-by: Maxime Ripard <[email protected]>

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard