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