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