similarity index 100%
copy from meta-arago-distro/recipes-extended/shadow/shadow-securetty_%.bbappend
copy to meta-arago-distro/recipes-extended/shadow/shadow-securetty-arago.inc
@@ -1,15 +1,4 @@
-PR:append = ".arago0"
+SHADOW_SECURETTY_ARAGO = ""
+SHADOW_SECURETTY_ARAGO:arago = "shadow-securetty-arago.inc"
-do_install:append () {
- # Allow telnet sessions to login as root
- securetty_file=${D}${sysconfdir}/securetty
-
- echo '' >> $securetty_file
- echo '# Allow 5 telnet login' >> $securetty_file
- echo 'pts/0' >> $securetty_file
- echo 'pts/1' >> $securetty_file
- echo 'pts/2' >> $securetty_file
- echo 'pts/3' >> $securetty_file
- echo 'pts/4' >> $securetty_file
-
-}
+require ${SHADOW_SECURETTY_ARAGO}
Wrap the bbappend in a yocto-check-layer compliant manner so that only if you are building this recipe under meta-arago-distro with the arago DISTRO_OVERRIDE would the bbappend apply. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- ...ty_%.bbappend => shadow-securetty-arago.inc} | 0 .../shadow/shadow-securetty_%.bbappend | 17 +++-------------- 2 files changed, 3 insertions(+), 14 deletions(-) copy meta-arago-distro/recipes-extended/shadow/{shadow-securetty_%.bbappend => shadow-securetty-arago.inc} (100%)