1SUMMARY = "creategroup pt 2" 2LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 3 4LICENSE = "MIT" 5 6USERADD_DEPENDS = "creategroup1" 7 8S = "${WORKDIR}" 9 10inherit useradd allarch 11 12USERADD_PACKAGES = "${PN}" 13USERADD_PARAM:${PN} = "-u 5556 --gid grouptest gt2" 14 15TESTDIR = "${D}${sysconfdir}/creategroup" 16 17do_install() { 18 install -d ${TESTDIR} 19 install -d ${TESTDIR}/dir 20 touch ${TESTDIR}/file 21 ln -s ./file ${TESTDIR}/symlink 22 install -d ${TESTDIR}/fifotest 23 mkfifo ${TESTDIR}/fifotest/fifo 24 25 chown gt2:grouptest ${TESTDIR}/file 26 chown -R gt2:grouptest ${TESTDIR}/dir 27 chown -h gt2:grouptest ${TESTDIR}/symlink 28 chown -R gt2:grouptest ${TESTDIR}/fifotest 29} 30 31FILES:${PN} = "${sysconfdir}/creategroup/*" 32 33