From ba2cf4dfc0e3e05bbee01ef27224f8cd228a117f Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Sun, 2 Feb 2014 23:48:06 -0500 Subject: bbappends: move old appends to "dangling" and introduce new appends Syncing to oe-core, and meta-oe master of January 30th 2014. - introduced required new bbappends To keep compatiblity with older versions of oe-core and meta-oe, old bbappends are kept, but they are moved to the "dangling" recipe group. If any bbappend warnings show outside of the dangling recipes, they should be investigated. Signed-off-by: Bruce Ashfield --- .../postgresql/postgresql_8.4.7.bbappend | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend (limited to 'meta-openstack/recipes-support/postgresql') diff --git a/meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend b/meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend deleted file mode 100644 index 98e7207..0000000 --- a/meta-openstack/recipes-support/postgresql/postgresql_8.4.7.bbappend +++ /dev/null @@ -1,35 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -PRINC := "${@int(PRINC) + 1}" - -SRC_URI += "file://postgresql" - -inherit useradd update-rc.d identity - -do_install_append() { - install -d ${D}${sysconfdir}/${PN} - chown postgres ${D}${sysconfdir}/${PN} - - install -d ${D}${sysconfdir}/init.d/ - install -m 0755 ${WORKDIR}/postgresql ${D}${sysconfdir}/init.d/postgresql -} - -USERADD_PACKAGES = "${PN}" -GROUPADD_PARAM_${PN} = "--system postgres" -USERADD_PARAM_${PN} = "--system --home /var/lib/postgres -g postgres \ - --no-create-home --shell /bin/false postgres" - -pkg_postinst_${PN} () { - if [ "x$D" != "x" ]; then - exit 1 - fi - - sudo -u postgres initdb -D /etc/${PN}/ - /etc/init.d/postgresql start - sudo -u postgres psql -c "CREATE ROLE ${DB_USER} WITH SUPERUSER LOGIN PASSWORD '${DB_PASSWORD}'" - ln -s /usr/share/zoneinfo /usr/share/postgresql/timezone -} - -FILES_${PN} += "${localstatedir}/run/${PN}" - -INITSCRIPT_NAME = "${PN}" -INITSCRIPT_PARAMS = "defaults" -- cgit v1.2.3-54-g00ecf