Skip to content
Snippets Groups Projects
Commit 0431b5de authored by Alessandro Elias's avatar Alessandro Elias
Browse files

Add pam module.conf.ubuntu.16. remote/modules/pam/module.conf.ubuntu.16

parent dd18f3be
No related branches found
No related tags found
No related merge requests found
# TODO fix and re-add ncp support !
REQUIRED_INSTALLED_PACKAGES="
libpam-ldap
libnss-ldapd
krb5-user
krb5-config
libpam-krb5
libssl-dev
ldap-utils
libnfsidmap2
nfs-common
libpam0g-dev
cifs-utils
"
REQUIRED_CONTENT_PACKAGES="
libpam0g
libpam-modules
libpam-cap
libldap-2.4-2
libpam-ldap
libnss-ldapd
krb5-user
krb5-config
libpam-krb5
ldap-utils
libnfsidmap2
nfs-common
cifs-utils
"
REQUIRED_BINARIES+="
mount.cifs
"
REQUIRED_DIRECTORIES+="
$SYS_PAM_MODULES_PATH
/lib
/usr/lib
"
REQUIRED_SYSTEM_FILES+="
/etc/pam.conf
/etc/default/locale
"
# For Ubuntu 14.04: Both packages were dropped from official repos. Do not change the
# order, as these packages will be installed via dpkg and depend on each other.
REQUIRED_DOWNLOAD_URLS="
de.archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/libncp_2.2.6-8_amd64.deb
de.archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/libpam-ncp_2.2.6-8_amd64.deb
de.archive.ubuntu.com/ubuntu/pool/universe/n/ncpfs/ncpfs_2.2.6-8_amd64.deb
"
......@@ -17,6 +17,7 @@ fetch_source () {
perror "'src/$REQUIRED_VERSION/src/core/socket.c' does not exist."
fi
fi
# now check if the old fix needs to be applied
# NOTE: only for systemd-204
if [ "x${REQUIRED_VERSION#systemd-}" = "x204" ]; then
......@@ -25,6 +26,8 @@ fetch_source () {
# However, there were lots of changes after systemd 204, so we didn't update yet
# See http://cgit.freedesktop.org/systemd/systemd/tree/NEWS for changes.
patch -p0 src/systemd-*/src/core/main.c < systemd-openslx.patch || perror "Failed to apply openslx systemd patch."
sed -i 's/#include <mtd\/mtd-user.h>/#include <mtd\/mtd-user.h> \n #include <stdint.h>/g' /root/tm-scripts_16/remote/modules/systemd/src/systemd-204/src/udev/mtd_probe/mtd_probe.h
else
# TODO use the above hint for setting environmenet through /etc/systemd/system.conf
pinfo "Missing..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment