base config for admin
Change:
spinarr@gitlab-ci:~/iqrf-gateway-os/meta-iqrf$ spinarr@gitlab-ci:~/iqrf-gateway-os/meta-iqrf$ git diff
diff --git a/recipes-core/base-config/base-config_0.1.bb b/recipes-core/base-config/base-config_0.1.bb
index 01bb53f..9d061ea 100644
--- a/recipes-core/base-config/base-config_0.1.bb
+++ b/recipes-core/base-config/base-config_0.1.bb
@@ -14,6 +14,6 @@ do_install_append () {
}
pkg_postinst_${PN} () {
- install -m 0600 $D${sysconfdir}/iqrf-config/bashrc $D${ROOT_HOME}/.bashrc
- install -m 0600 $D${sysconfdir}/iqrf-config/profile $D${ROOT_HOME}/.profile
+ install -m 0600 $D${sysconfdir}/iqrf-config/bashrc $D$/home/admin/.bashrc
+ install -m 0600 $D${sysconfdir}/iqrf-config/profile $D$/home/admin/.profile
}
spinarr@gitlab-ci:~/iqrf-gateway-os/meta-iqrf$
ERROR: iqrf-gatewayos-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['base-config'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /home/builder/build/tmp/work/orange_pi_zero-poky-linux-gnueabi/iqrf-gatewayos-image/1.0-r0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /home/builder/build/tmp/work/orange_pi_zero-poky-linux-gnueabi/iqrf-gatewayos-image/1.0-r0/temp/log.do_rootfs.20294
ERROR: Task (/home/builder/meta-gateway-os/recipes-core/images/iqrf-gatewayos-image.bb:do_rootfs) failed with exit code '1'