Skip to content

Commit

Permalink
remove webos_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
shr-project committed Sep 30, 2021
1 parent f46be68 commit 5d636d9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 128 deletions.
3 changes: 1 addition & 2 deletions meta-webos-raspberrypi/classes/sdcard_image-rpi.bbclass
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Imported from meta-raspberrypi
# kernel dependency changed to do_webos_deploy_fixup task

inherit image_types

Expand Down Expand Up @@ -58,7 +57,7 @@ do_image:rpi_sdimg[depends] = " \
parted-native:do_populate_sysroot \
mtools-native:do_populate_sysroot \
dosfstools-native:do_populate_sysroot \
virtual/kernel:do_webos_deploy_fixup \
virtual/kernel:do_deploy \
${IMAGE_BOOTLOADER}:do_deploy \
rpi-config:do_deploy \
${@bb.utils.contains('MACHINE_FEATURES', 'armstub', 'armstubs:do_deploy', '' ,d)} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,3 @@ KERNEL_MODULE_AUTOLOAD:append = " \
${@bb.utils.contains('DISTRO_FEATURES', 'virtualization', 'openvswitch', '', d)} \
bridge \
"

do_deploy:append() {
# Remove kernel image link in meta-webos/classes/kernel.bbclass
# However the image link is required in raspberrypi
ln -sf ${type}-${KERNEL_IMAGE_NAME}.bin ${DEPLOYDIR}/${type}-${KERNEL_IMAGE_LINK_NAME}.bin
}

This file was deleted.

81 changes: 0 additions & 81 deletions meta-webos/classes/image.bbclass

This file was deleted.

18 changes: 1 addition & 17 deletions meta-webos/classes/kernel.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,14 @@
#
# packagegroup
#
# Intercept the upstream kernel.bbclass so that when there's a webos_deploy_fixup
# task.
# Intercept the upstream kernel.bbclass
#

require ${COREBASE}/meta/classes/kernel.bbclass

inherit webos_deploy

do_deploy:append() {
# The .bin-s are of no use to us.
for type in ${KERNEL_IMAGETYPES} ; do
rm -vf ${DEPLOYDIR}/${type}-${KERNEL_IMAGE_LINK_NAME}.bin
rm -vf ${DEPLOYDIR}/${type}
done
}

do_webos_deploy_fixup:prepend() {
[ -e ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_NAME}.bin ] && \
ln -vf ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_NAME}.bin \
${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_LINK_NAME}.bin
[ -e ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_IMAGE_NAME}.bin ] && \
ln -vf ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_IMAGE_NAME}.bin \
${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}
[ -e ${DEPLOY_DIR_IMAGE}/modules-${MODULE_TARBALL_NAME}.tgz ] && \
ln -vf ${DEPLOY_DIR_IMAGE}/modules-${MODULE_TARBALL_NAME}.tgz \
${DEPLOY_DIR_IMAGE}/modules-${MODULE_TARBALL_LINK_NAME}.tgz
}
17 changes: 0 additions & 17 deletions meta-webos/classes/webos_deploy.bbclass

This file was deleted.

0 comments on commit 5d636d9

Please sign in to comment.