diff options
Diffstat (limited to 'meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb')
-rwxr-xr-x | meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb b/meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb index 004ec784dd..8a9221e401 100755 --- a/meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb +++ b/meta-tizen/meta-tizen-micro/recipes-image/raspberrypi2/rpi-hwup-image-tizen-micro.bb @@ -1,5 +1,6 @@ # Base this image on rpi-hwup-image include recipes-core/images/rpi-hwup-image.bb +include recipes-image/target-image-common.bb CORE_IMAGE_EXTRA_INSTALL += "nodejs" CORE_IMAGE_EXTRA_INSTALL += "nginx" @@ -7,23 +8,3 @@ CORE_IMAGE_EXTRA_INSTALL += "wpa-supplicant wpa-supplicant-cli" CORE_IMAGE_EXTRA_INSTALL += "openssh" CORE_IMAGE_EXTRA_INSTALL += "systemd-serialgetty util-linux-agetty procps" CORE_IMAGE_EXTRA_INSTALL += "v4l2grab" - -# Set root password to "root" -ROOTFS_POSTPROCESS_COMMAND += "set_root_passwd;" -set_root_passwd() { - sed 's%^root:[^:]*:%root:wYNffsf6sozwE:%' \ - < ${IMAGE_ROOTFS}/etc/shadow \ - > ${IMAGE_ROOTFS}/etc/shadow.new; - mv ${IMAGE_ROOTFS}/etc/shadow.new ${IMAGE_ROOTFS}/etc/shadow ; -} - -def get_kernelversion_file(p): - fn = p + '/kernel-abiversion' - - try: - with open(fn, 'r') as f: - return f.readlines()[0].strip() - except IOError: - return None - -STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts" |