sysmocom-*-image: Add the IP and E1 image to this layer
Add a BSC IP and BSC E1 image to the meta-sysmocom-bsp.
This commit is contained in:
parent
bbbc805a2d
commit
fd604f8497
|
@ -0,0 +1,20 @@
|
|||
DESCRIPTION = "sysmocom BSC/E1 image"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit boot-directdisk
|
||||
|
||||
|
||||
do_bootdirectdisk_prepend () {
|
||||
import bb
|
||||
fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
|
||||
if 'ext3' not in fstypes:
|
||||
bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
|
||||
}
|
||||
|
||||
ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-e1-image-${MACHINE}.ext3"
|
||||
do_bootdirectdisk[depends] += "sysmocom-bsc-e1-image:do_rootfs"
|
||||
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom \
|
||||
task-sysmocom-debug task-sysmocom-tools task-sysmocom-e1 task-gprscore \
|
||||
e2fsprogs-mke2fs e2fsprogs-tune2fs e2fsprogs-e2fsck e2fsprogs-fsck \
|
||||
kernel-module-nls-iso8859-1 kernel-module-nls-cp437"
|
||||
IMAGE_LINGUAS = " "
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit core-image
|
||||
|
||||
IMAGE_ROOTFS_SIZE = "524288"
|
|
@ -0,0 +1,20 @@
|
|||
DESCRIPTION = "sysmocom BSC/IP image"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit boot-directdisk
|
||||
|
||||
|
||||
do_bootdirectdisk_prepend () {
|
||||
import bb
|
||||
fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
|
||||
if 'ext3' not in fstypes:
|
||||
bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
|
||||
}
|
||||
|
||||
ROOTFS = "${DEPLOY_DIR_IMAGE}/sysmocom-bsc-ip-image-${MACHINE}.ext3"
|
||||
do_bootdirectdisk[depends] += "sysmocom-bsc-ip-image:do_rootfs"
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${ROOTFS_PKGMANAGE} task-osmocom task-sysmocom task-sysmocom-debug task-sysmocom-tools task-gprscore sysmocom-udhcpd-config busybox-udhcpd"
|
||||
IMAGE_LINGUAS = " "
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit core-image
|
||||
|
||||
IMAGE_ROOTFS_SIZE = "262144"
|
Loading…
Reference in New Issue