diff options
-rw-r--r-- | meta/recipes-devtools/pseudo/files/fallback-group | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/pseudo/files/fallback-passwd | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/pseudo/pseudo_1.6.2.bb | 9 |
3 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/files/fallback-group b/meta/recipes-devtools/pseudo/files/fallback-group new file mode 100644 index 0000000000..81bf732312 --- /dev/null +++ b/meta/recipes-devtools/pseudo/files/fallback-group | |||
@@ -0,0 +1,2 @@ | |||
1 | root:*:0: | ||
2 | mail:*:8: | ||
diff --git a/meta/recipes-devtools/pseudo/files/fallback-passwd b/meta/recipes-devtools/pseudo/files/fallback-passwd new file mode 100644 index 0000000000..c1458dc0f6 --- /dev/null +++ b/meta/recipes-devtools/pseudo/files/fallback-passwd | |||
@@ -0,0 +1 @@ | |||
root::0:0:root:/home/root:/bin/sh | |||
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.6.2.bb b/meta/recipes-devtools/pseudo/pseudo_1.6.2.bb index fb85f896e4..261c8d3abd 100644 --- a/meta/recipes-devtools/pseudo/pseudo_1.6.2.bb +++ b/meta/recipes-devtools/pseudo/pseudo_1.6.2.bb | |||
@@ -5,9 +5,18 @@ SRC_URI = " \ | |||
5 | file://0001-pseudo_client.c-protect-pwd_lck-against-magic.patch \ | 5 | file://0001-pseudo_client.c-protect-pwd_lck-against-magic.patch \ |
6 | file://0002-pseudo_util-modify-interface-to-pseudo_etc_file.patch \ | 6 | file://0002-pseudo_util-modify-interface-to-pseudo_etc_file.patch \ |
7 | file://0003-pseudo_client.c-support-multiple-directories-in-PSEU.patch \ | 7 | file://0003-pseudo_client.c-support-multiple-directories-in-PSEU.patch \ |
8 | file://fallback-passwd \ | ||
9 | file://fallback-group \ | ||
8 | " | 10 | " |
9 | 11 | ||
10 | SRC_URI[md5sum] = "4d7b4f9d1b4aafa680ce94a5a9a52f1f" | 12 | SRC_URI[md5sum] = "4d7b4f9d1b4aafa680ce94a5a9a52f1f" |
11 | SRC_URI[sha256sum] = "c72be92689511ced7c419149c6aaa1b1a9e4dfc6409d1f16ab72cc35bc1e376a" | 13 | SRC_URI[sha256sum] = "c72be92689511ced7c419149c6aaa1b1a9e4dfc6409d1f16ab72cc35bc1e376a" |
12 | 14 | ||
13 | PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback" | 15 | PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback" |
16 | |||
17 | do_install_append_class-native () { | ||
18 | install -d ${D}${sysconfdir} | ||
19 | # The fallback files should never be modified | ||
20 | install -m 444 ${WORKDIR}/fallback-passwd ${D}${sysconfdir}/passwd | ||
21 | install -m 444 ${WORKDIR}/fallback-group ${D}${sysconfdir}/group | ||
22 | } | ||