angstrom: Fix access using empty root password

We are not able to login into angstrom images now
since many chnages has gone into upstream OE-core
drop libpam change to drop secure nullok

add empty-root-password to EXTRA_IMAGE_FEAUTURES
it should actually be controlled and added only for
debug images, but thats for production folks

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2015-05-07 17:58:01 -07:00
parent 911233b9ea
commit baaf5b1722
2 changed files with 1 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ MACHINEOVERRIDES[vardepsexclude] += "SOC_FAMILY"
# opkg
PREFERRED_PROVIDER_opkg-collateral = "angstrom-feed-configs"
EXTRA_IMAGE_FEATURES ?= "package-management"
EXTRA_IMAGE_FEATURES ?= "package-management empty-root-password"
PREFERRED_PROVIDER_os-release = "angstrom-version"

View File

@@ -1,4 +0,0 @@
#allow empty password
do_install_append () {
sed -i -e 's:nullok_secure:nullok:g' ${D}${sysconfdir}/pam.d/common-auth
}