# Creates a root filesystem out of IPKs
#
# This rootfs can be mounted via root-nfs or it can be put into an cramfs/jffs etc.
-# See image_ipk.oeclass for a usage of this.
+# See image.bbclass for a usage of this.
#
DEPENDS_prepend="ipkg-native ipkg-utils-native fakeroot-native "
IPKG_ARGS = "-f ${T}/ipkg.conf -o ${IMAGE_ROOTFS}"
-IPKG_INSTALL += "ipkg ipkg-collateral"
+PACKAGE_INSTALL += "ipkg ipkg-collateral"
ROOTFS_POSTPROCESS_COMMAND ?= ""
ipkg-cl ${IPKG_ARGS} install $i
done
fi
- if [ ! -z "${IPKG_INSTALL}" ]; then
- ipkg-cl ${IPKG_ARGS} install ${IPKG_INSTALL}
+ if [ ! -z "${PACKAGE_INSTALL}" ]; then
+ ipkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL}
fi
export D=${IMAGE_ROOTFS}
def wrt_get_kernel_version(d):
import bb
- if bb.data.inherits_class('image_ipk', d):
+ if bb.data.inherits_class('image', d):
skd = bb.data.getVar('STAGING_KERNEL_DIR', d, 1)
return base_read_file(skd+'/kernel-abiversion')
return "-no kernel version for available-"
'INITSCRIPT_PACKAGES',
'INITSCRIPT_NAME',
'INITSCRIPT_PARAMS',
- 'IPKG_INSTALL',
+ 'PACKAGE_INSTALL',
'KERNEL_IMAGETYPE',
'KERNEL_IMAGEDEST',
'KERNEL_OUTPUT',
export IMAGE_BASENAME = "bootmanager-image"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "${RDEPENDS}"
+export PACKAGE_INSTALL = "${RDEPENDS}"
-inherit image_ipk
+inherit image
export IMAGE_BASENAME = "bootstrap-image"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "${RDEPENDS}"
+export PACKAGE_INSTALL = "${RDEPENDS}"
-inherit image_ipk
+inherit image
${ANGSTROM_EXTRA_INSTALL}"
-export IPKG_INSTALL = "${RDEPENDS}"
+export PACKAGE_INSTALL = "${RDEPENDS}"
#zap root password for release images
ROOTFS_POSTPROCESS_COMMAND += '${@base_conditional("DISTRO_TYPE", "release", "zap_root_password; ", "",d)}'
-inherit image_ipk
+inherit image
export IMAGE_BASENAME = "bootstrap-image-bootchart"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "${MACHINE_TASK_PROVIDER} bootchart acct"
+export PACKAGE_INSTALL = "${MACHINE_TASK_PROVIDER} bootchart acct"
DEPENDS = "${MACHINE_TASK_PROVIDER} bootchart"
RDEPENDS = "acct"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
export IMAGE_BASENAME = "bootstrap-image"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "${MACHINE_TASK_PROVIDER}"
+export PACKAGE_INSTALL = "${MACHINE_TASK_PROVIDER}"
DEPENDS = "${MACHINE_TASK_PROVIDER}"
-inherit image_ipk
+inherit image
FEED_URIS_append_familiar = " x11##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/x11 \
opie##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/opie"
DVB_PACKAGES = "${MACHINE_TASK_PROVIDER} task-dvb"
-export IPKG_INSTALL = "${DVB_PACKAGES}"
+export PACKAGE_INSTALL = "${DVB_PACKAGES}"
DEPENDS = "${DVB_PACKAGES}"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
PREFERRED_PROVIDER_virtual/libxine = "libxine-x11"
PREFERRED_PROVIDER_libx11 = "libx11"
-export IPKG_INSTALL = "${MACHINE_TASK_PROVIDER} task-e-x11-core xserver-kdrive-fbdev glibc-charmap-utf-8 glibc-localedata-i18n"
+export PACKAGE_INSTALL = "${MACHINE_TASK_PROVIDER} task-e-x11-core xserver-kdrive-fbdev glibc-charmap-utf-8 glibc-localedata-i18n"
-inherit image_ipk
+inherit image
PR = "r5"
export IMAGE_BASENAME = "e-image"
-export IPKG_INSTALL += "task-e-x11-core \
+export PACKAGE_INSTALL += "task-e-x11-core \
gpe-task-pim \
gpe-task-settings \
gpe-task-apps \
DEPENDS += "task-e-x11-core task-gpe figment xhost gpe-soundserver gpe-confd xauth"
-RDEPENDS = "${IPKG_INSTALL}"
+RDEPENDS = "${PACKAGE_INSTALL}"
######################################################################################
-inherit image_ipk
+inherit image
######################################################################################
export IMAGE_BASENAME = "essential-image"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "task-essential-to-boot"
+export PACKAGE_INSTALL = "task-essential-to-boot"
######################################################################################
-inherit image_ipk
+inherit image
######################################################################################
export IMAGE_BASENAME = "essential-image"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "${MACHINE_TASKS}"
+export PACKAGE_INSTALL = "${MACHINE_TASKS}"
XSERVER ?= "xserver-kdrive-fbdev"
DEPENDS = "${MACHINE_TASK_PROVIDER} task-gpe"
-RDEPENDS = "${IPKG_INSTALL}"
+RDEPENDS = "${PACKAGE_INSTALL}"
-export IPKG_INSTALL = "\
+export PACKAGE_INSTALL = "\
${MACHINE_TASK_PROVIDER} \
gpe-task-base \
gpe-task-pim \
#ROOTFS_POSTPROCESS_COMMAND += "zap_root_password; "
-inherit image_ipk
+inherit image
LICENSE = "MIT"
task-opie-bluetooth task-opie-irda \
${extra_stuff}"
-export IPKG_INSTALL = "${INSTALL_PACKAGES}"
+export PACKAGE_INSTALL = "${INSTALL_PACKAGES}"
# merge feed-sources into ipkg.conf for opie-aqpkg as it can't handle feed-sources outside of ipkg.conf.
merge_feeds() {
# merge feed-sources into ipkg.conf and create /etc/timestamp from build date
IMAGE_PREPROCESS_COMMAND = "merge_feeds; create_etc_timestamp"
-inherit image_ipk
+inherit image
meta-maemo \
${MAEMO_EXTRA_DEPENDS}"
-export IPKG_INSTALL = "${MACHINE_TASK_PROVIDER} maemo-task-base maemo-task-theme \
+export PACKAGE_INSTALL = "${MACHINE_TASK_PROVIDER} maemo-task-base maemo-task-theme \
maemo-task-apps ${MAEMO_EXTRA_INSTALL} \
${XSERVER}"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
MYTHFRONT_PACKAGES = "${MACHINE_TASK_PROVIDER} task-mythfront"
-export IPKG_INSTALL = "${MYTHFRONT_PACKAGES}"
+export PACKAGE_INSTALL = "${MYTHFRONT_PACKAGES}"
DEPENDS = "${MYTHFRONT_PACKAGES}"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
IMAGE_BASENAME = "nslu2-linksys"
-IPKG_INSTALL = "nslu2-linksys-ramdisk"
+PACKAGE_INSTALL = "nslu2-linksys-ramdisk"
-DEPENDS = "nslu2-linksys-kernel ${IPKG_INSTALL}"
+DEPENDS = "nslu2-linksys-kernel ${PACKAGE_INSTALL}"
NSLU2_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-nslu2.txt')}"
EXTRA_IMAGECMD_ext2.gz = "-f ${NSLU2_DEVICE_TABLE}"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
-inherit image_ipk
+inherit image
inherit nylon-image
LICENSE = "MIT"
## kernel 2.6 ##
RDEPENDS_append_mtx-3 = " module-init-tools udev"
-export IPKG_INSTALL = "${RDEPENDS}"
+export PACKAGE_INSTALL = "${RDEPENDS}"
IMAGE_LINGUAS = ""
RDEPENDS = "kernel \
${NYLON_BASE} ${BOOTSTRAP_EXTRA_RDEPENDS}"
-export IPKG_INSTALL = "${RDEPENDS}"
+export PACKAGE_INSTALL = "${RDEPENDS}"
IMAGE_LINGUAS = ""
-inherit image_ipk
+inherit image
LICENSE = "MIT"
${OPENPROTIUM_KERNEL} "
# ${SLUGOS_EXTRA_RDEPENDS}"
-IPKG_INSTALL = "${RDEPENDS}"
+PACKAGE_INSTALL = "${RDEPENDS}"
-inherit image_ipk
+inherit image
storcenter_pack_image() {
# find latest kernel
INSTALL_PACKAGES_spitz_append = "task-opie-extra-games task-opie-extra-apps task-opie-extra-styles"
INSTALL_PACKAGES_akita_append = "task-opie-extra-games task-opie-extra-apps task-opie-extra-styles"
-export IPKG_INSTALL = "${INSTALL_PACKAGES}"
+export PACKAGE_INSTALL = "${INSTALL_PACKAGES}"
# merge feed-sources into ipkg.conf for opie-aqpkg as it can't handle feed-sources outside of ipkg.conf.
merge_feeds() {
# merge feed-sources into ipkg.conf and create /etc/timestamp from build date
IMAGE_PREPROCESS_COMMAND = "merge_feeds; create_etc_timestamp"
-inherit image_ipk
+inherit image
INSTALL_PACKAGES += "kopi kapi kammu kopi-applet"
-export IPKG_INSTALL = "${INSTALL_PACKAGES}"
+export PACKAGE_INSTALL = "${INSTALL_PACKAGES}"
export IMAGE_BASENAME = "ossie-image"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "${MACHINE_TASK_PROVIDER} task-ossie"
+export PACKAGE_INSTALL = "${MACHINE_TASK_PROVIDER} task-ossie"
DEPENDS = "${MACHINE_TASK_PROVIDER} task-ossie"
${MACHINE}##${OSSIE_URI}/unstable/feed/${TARGET_ARCH}/machine/${MACHINE}"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
export IMAGE_BASENAME = "pivotboot-image"
export IMAGE_LINGUAS = ""
-export IPKG_INSTALL = "task-pivotboot"
+export PACKAGE_INSTALL = "task-pivotboot"
DEPENDS = "task-pivotboot"
PR = "r1"
-inherit image_ipk
+inherit image
FEED_URIS_append_familiar = " x11##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/x11 \
opie##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/opie"
DEPENDS = "${MACHINE_TASK_PROVIDER} task-sdl"
-export IPKG_INSTALL = "${MACHINE_TASK_PROVIDER} sdl-base"
+export PACKAGE_INSTALL = "${MACHINE_TASK_PROVIDER} sdl-base"
-inherit image_ipk
+inherit image
XSERVER ?= "xserver-kdrive-fbdev"
DEPENDS = "${MACHINE_TASK_PROVIDER} task-gpe"
-RDEPENDS = "${IPKG_INSTALL}"
+RDEPENDS = "${PACKAGE_INSTALL}"
-export IPKG_INSTALL = "\
+export PACKAGE_INSTALL = "\
${MACHINE_TASK_PROVIDER} \
gpe-task-base \
gpe-task-pim \
ROOTFS_POSTPROCESS_COMMAND += "zap_root_password; "
-inherit image_ipk
+inherit image
${SLUGOS_KERNEL} \
${SLUGOS_EXTRA_RDEPENDS}"
-IPKG_INSTALL = "${RDEPENDS}"
+PACKAGE_INSTALL = "${RDEPENDS}"
-inherit image_ipk
+inherit image
python () {
# Don't build slugos images unless the configuration is set up
vim \
mutt'
-export IPKG_INSTALL = '${MACHINE_TASK_PROVIDER} \
+export PACKAGE_INSTALL = '${MACHINE_TASK_PROVIDER} \
twin \
orpheus \
nano \
vim \
mutt'
-inherit image_ipk
+inherit image
LICENSE = "MIT"
OPIE_BASE = "opie-qcop opie-quicklauncher opie-taskbar"
DEPENDS = "${MACHINE_TASK_PROVIDER}"
-export IPKG_INSTALL = "${DEPENDS}"
+export PACKAGE_INSTALL = "${DEPENDS}"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
# findutils \
${UNSLUNG_EXTRA_RDEPENDS}"
-IPKG_INSTALL = "kernel update-modules unslung-rootfs \
+PACKAGE_INSTALL = "kernel update-modules unslung-rootfs \
libc6-unslung slingbox ipkg \
libipkg \
# cpio \
IMAGE_PREPROCESS_COMMAND += "unslung_clean_image; "
-inherit image_ipk
+inherit image
# Note that anything in this function must be repeatable without having to rebuild the rootfs
unslung_clean_image () {
XFCE_DEPENDS = "${MACHINE_TASK_PROVIDER} task-xfce-base"
XFCE_RDEPENDS = "${XFCE_DEPENDS}"
-export IPKG_INSTALL = "${X_RDEPENDS} ${XFCE_RDEPENDS}"
+export PACKAGE_INSTALL = "${X_RDEPENDS} ${XFCE_RDEPENDS}"
DEPENDS = "${X_DEPENDS} ${XFCE_DEPENDS}"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
XTERMINAL_PACKAGES = "${MACHINE_TASK_PROVIDER} task-xterminal"
-export IPKG_INSTALL = "${XTERMINAL_PACKAGES}"
+export PACKAGE_INSTALL = "${XTERMINAL_PACKAGES}"
DEPENDS = "${XTERMINAL_PACKAGES}"
-inherit image_ipk
+inherit image
LICENSE = "MIT"
ALLOW_EMPTY = "1"
-IPKG_INSTALL = "${OSSIE_BASE} ${OSSIE_PLATFORM} ${OSSIE_COMPONENTS} ${OSSIE_WAVEFORMS}"
+PACKAGE_INSTALL = "${OSSIE_BASE} ${OSSIE_PLATFORM} ${OSSIE_COMPONENTS} ${OSSIE_WAVEFORMS}"
OSSIE_BASE = "screen procps xerces-c omniorb usrp"
OSSIE_PLATFORM = "ossiecf ossie-standardinterfaces ossie-nodebooter ossie-c-wavloader"