diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-bsp/systemd-boot/files/0001-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch | 40 | ||||
-rw-r--r-- | meta/recipes-core/systemd/systemd-boot_234.bb (renamed from meta/recipes-bsp/systemd-boot/systemd-boot_232.bb) | 6 |
2 files changed, 4 insertions, 42 deletions
diff --git a/meta/recipes-bsp/systemd-boot/files/0001-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch b/meta/recipes-bsp/systemd-boot/files/0001-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch deleted file mode 100644 index bc92db7468..0000000000 --- a/meta/recipes-bsp/systemd-boot/files/0001-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From a3482c91642cf568b3ac27fa6c0cb3c6b30669b7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 9 Nov 2016 19:32:14 -0800 | ||
4 | Subject: [PATCH 07/19] use lnr wrapper instead of looking for --relative | ||
5 | option for ln | ||
6 | |||
7 | Upstream-Status: Inappropriate [OE-Specific] | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Makefile.am | 2 +- | ||
12 | configure.ac | 2 -- | ||
13 | 2 files changed, 1 insertion(+), 3 deletions(-) | ||
14 | |||
15 | Index: git/Makefile.am | ||
16 | =================================================================== | ||
17 | --- git.orig/Makefile.am | ||
18 | +++ git/Makefile.am | ||
19 | @@ -320,7 +320,7 @@ define install-relative-aliases | ||
20 | while [ -n "$$1" ]; do \ | ||
21 | $(MKDIR_P) `dirname $(DESTDIR)$$dir/$$2` && \ | ||
22 | rm -f $(DESTDIR)$$dir/$$2 && \ | ||
23 | - $(LN_S) --relative $(DESTDIR)$$1 $(DESTDIR)$$dir/$$2 && \ | ||
24 | + lnr $(DESTDIR)$$1 $(DESTDIR)$$dir/$$2 && \ | ||
25 | shift 2 || exit $$?; \ | ||
26 | done | ||
27 | endef | ||
28 | Index: git/configure.ac | ||
29 | =================================================================== | ||
30 | --- git.orig/configure.ac | ||
31 | +++ git/configure.ac | ||
32 | @@ -110,8 +110,6 @@ AC_PATH_PROG([SULOGIN], [sulogin], [/usr | ||
33 | AC_PATH_PROG([MOUNT_PATH], [mount], [/usr/bin/mount], [$PATH:/usr/sbin:/sbin]) | ||
34 | AC_PATH_PROG([UMOUNT_PATH], [umount], [/usr/bin/umount], [$PATH:/usr/sbin:/sbin]) | ||
35 | |||
36 | -AS_IF([! ln --relative --help > /dev/null 2>&1], [AC_MSG_ERROR([*** ln doesn't support --relative ***])]) | ||
37 | - | ||
38 | M4_DEFINES= | ||
39 | |||
40 | AC_CHECK_TOOL(OBJCOPY, objcopy) | ||
diff --git a/meta/recipes-bsp/systemd-boot/systemd-boot_232.bb b/meta/recipes-core/systemd/systemd-boot_234.bb index 0471ce246b..ed55e537eb 100644 --- a/meta/recipes-bsp/systemd-boot/systemd-boot_232.bb +++ b/meta/recipes-core/systemd/systemd-boot_234.bb | |||
@@ -1,12 +1,14 @@ | |||
1 | require recipes-core/systemd/systemd.inc | 1 | require systemd.inc |
2 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:" | ||
2 | 3 | ||
3 | DEPENDS = "intltool-native libcap util-linux gnu-efi gperf-native" | 4 | DEPENDS = "intltool-native libcap util-linux gnu-efi gperf-native" |
4 | 5 | ||
5 | SRC_URI += "file://0001-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch" | 6 | SRC_URI += "file://0007-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch" |
6 | 7 | ||
7 | inherit autotools pkgconfig gettext | 8 | inherit autotools pkgconfig gettext |
8 | inherit deploy | 9 | inherit deploy |
9 | 10 | ||
11 | export EFI_CC="${CC}" | ||
10 | # Man pages are packaged through the main systemd recipe | 12 | # Man pages are packaged through the main systemd recipe |
11 | EXTRA_OECONF = " --enable-gnuefi \ | 13 | EXTRA_OECONF = " --enable-gnuefi \ |
12 | --with-efi-includedir=${STAGING_INCDIR} \ | 14 | --with-efi-includedir=${STAGING_INCDIR} \ |