Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 1 | SUMMARY = "UserAddBadTask" |
| 2 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
| 3 | |
| 4 | LICENSE = "MIT" |
| 5 | |
| 6 | DEPENDS:append = "coreutils-native" |
| 7 | |
| 8 | S = "${WORKDIR}" |
| 9 | |
| 10 | inherit useradd allarch |
| 11 | |
| 12 | USERADD_PACKAGES = "${PN}" |
| 13 | USERADD_PARAM:${PN} = "-u 5555 --gid groupaddtask useraddtask" |
| 14 | GROUPADD_PARAM:${PN} = "-r groupaddtask" |
| 15 | |
| 16 | do_badthingshappen() { |
| 17 | echo "foo" |
| 18 | } |
| 19 | |
| 20 | addtask badthingshappen after do_populate_sysroot before do_package |