diff options
Diffstat (limited to 'meta-sota/recipes-devtools')
-rw-r--r-- | meta-sota/recipes-devtools/pseudo/files/fallback-group | 2 | ||||
-rw-r--r-- | meta-sota/recipes-devtools/pseudo/files/fallback-passwd | 1 | ||||
-rw-r--r-- | meta-sota/recipes-devtools/pseudo/pseudo_1.8.1.bb | 20 |
3 files changed, 23 insertions, 0 deletions
diff --git a/meta-sota/recipes-devtools/pseudo/files/fallback-group b/meta-sota/recipes-devtools/pseudo/files/fallback-group new file mode 100644 index 0000000..81bf732 --- /dev/null +++ b/meta-sota/recipes-devtools/pseudo/files/fallback-group @@ -0,0 +1,2 @@ +root:*:0: +mail:*:8: diff --git a/meta-sota/recipes-devtools/pseudo/files/fallback-passwd b/meta-sota/recipes-devtools/pseudo/files/fallback-passwd new file mode 100644 index 0000000..c1458dc --- /dev/null +++ b/meta-sota/recipes-devtools/pseudo/files/fallback-passwd @@ -0,0 +1 @@ +root::0:0:root:/home/root:/bin/sh diff --git a/meta-sota/recipes-devtools/pseudo/pseudo_1.8.1.bb b/meta-sota/recipes-devtools/pseudo/pseudo_1.8.1.bb new file mode 100644 index 0000000..211439e --- /dev/null +++ b/meta-sota/recipes-devtools/pseudo/pseudo_1.8.1.bb @@ -0,0 +1,20 @@ +require recipes-devtools/pseudo/pseudo.inc + +SRC_URI = " \ + http://downloads.yoctoproject.org/releases/pseudo/${BPN}-${PV}.tar.bz2 \ + file://fallback-passwd \ + file://fallback-group \ + file://0001-Add-check-for-existence-of-old-file-to-renameat.patch \ +" + +SRC_URI[md5sum] = "ee38e4fb62ff88ad067b1a5a3825bac7" +SRC_URI[sha256sum] = "dac4ad2d21228053151121320f629d41dd5c0c87695ac4e7aea286c414192ab5" + +PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback" + +do_install_append_class-native () { + install -d ${D}${sysconfdir} + # The fallback files should never be modified + install -m 444 ${WORKDIR}/fallback-passwd ${D}${sysconfdir}/passwd + install -m 444 ${WORKDIR}/fallback-group ${D}${sysconfdir}/group +} |