Skip to content

Commit

Permalink
This is Version 2.0! Now with Integrated PineTabV and Star64 Images :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fishwaldo committed Aug 21, 2023
1 parent 5f25575 commit 0772d1f
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 8 deletions.
5 changes: 3 additions & 2 deletions conf/templates/pinix/bblayers.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ BBLAYERS ?= " \
##OEROOT##/../meta-openembedded/meta-oe \
##OEROOT##/../meta-openembedded/meta-python \
##OEROOT##/../meta-openembedded/meta-networking \
##OEROOT##/../meta-openembedded/meta-filesystems \
##OEROOT##/../meta-openembedded/meta-webserver \
##OEROOT##/../meta-openembedded/meta-multimedia \
##OEROOT##/../meta-openembedded/meta-gnome \
##OEROOT##/../meta-openembedded/meta-xfce \
##OEROOT##/../meta-openembedded/meta-filesystems \
##OEROOT##/../meta-openembedded/meta-webserver \
##OEROOT##/../meta-openembedded/meta-perl \
##OEROOT##/../meta-java \
##OEROOT##/../meta-qt5 \
Expand Down
1 change: 0 additions & 1 deletion meta-kde-gear
Submodule meta-kde-gear deleted from e94725
1 change: 0 additions & 1 deletion recipes-core/packagefeed/packagefeed/sources.list.pinetabv
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# Apt Repo is disabled in these test images
deb [signed-by=/etc/apt/trusted.gpg.d/pinix.gpg] https://pine64.my-ho.st:8443/ pinix all riscv64 pinetabv
4 changes: 3 additions & 1 deletion recipes-core/packagefeed/packagefeed_1.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ do_install:pinetabv:append() {

DEPENDS += " \
gnupg-native \
"
"
COMPATIBLE_MACHINE = "(star64|pinetabv)"
PACKAGE_ARCH = "${MACHINE_ARCH}"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deb [signed-by=/etc/apt/trusted.gpg.d/pinix.gpg] https://pine64.my-ho.st:8443/ pinix-testing all riscv64 pinetabv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deb [signed-by=/etc/apt/trusted.gpg.d/pinix.gpg] https://pine64.my-ho.st:8443/ pinix-testing all riscv64 star64
33 changes: 33 additions & 0 deletions recipes-core/packagefeed/pinix-testing_1.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
LICENSE="MIT"
LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI:append:star64 = "\
file://pinix-testing.list.star64 \
"

SRC_URI:append:pinetabv = "\
file://pinix-testing.list.pinetabv \
"

SRC_URI[sha256sum] = "8ca5205bcbb703ebe372f40318e748c0b3f1bca64aaf5b8d315eac07e7f95e37"

CONFFILES:${PN} += " \
${sysconfdir}/apt/sources.list.d/* \
"
FILES:${PN} += " \
${sysconfdir}/apt/sources.list.d/* \
"

do_install:star64:append() {
install -d ${D}/${sysconfdir}/apt/sources.list.d/
install -m 644 ${WORKDIR}/pinix-testing.list.star64 ${D}/${sysconfdir}/apt/sources.list.d/pinix-testing.list
}

do_install:pinetabv:append() {
install -d ${D}/${sysconfdir}/apt/sources.list.d/
install -m 644 ${WORKDIR}/pinix-testing.list.pinetabv ${D}/${sysconfdir}/apt/sources.list.d/pinix-testing.list
}

COMPATIBLE_MACHINE = "(star64|pinetabv)"
PACKAGE_ARCH = "${MACHINE_ARCH}"
3 changes: 2 additions & 1 deletion recipes-core/udev/udev-rules-star64.bb
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ INHIBIT_DEFAULT_DEPS = "1"
do_install () {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
}
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
2 changes: 2 additions & 0 deletions recipes-graphics/libsdl2/libsdl2_2.0.20.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#disable opengl
PACKAGECONFIG_GL=""
1 change: 1 addition & 0 deletions recipes-multimedia/alsa-ucm-conf/alsa-ucm-conf_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ do_install:append:pinetabv() {
install -m 0644 ${WORKDIR}/asound.conf ${D}${sysconfdir}/asound.conf
}

PACKAGE_ARCH = "${MACHINE_ARCH}"
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ echo "Setting up PinIx Yocto Build"
declare -A layers
layers['poky']='git://git.yoctoproject.org/poky|kirkstone|fc697fe87412b9b179ae3a68d266ace85bb1fcc6'
layers['meta-openembedded']='https://github.com/openembedded/meta-openembedded|kirkstone|529620141e773080a6a7be4615fb7993204af883'
layers['meta-riscv']='https://github.com/Fishwaldo/meta-riscv.git|master|8ab08c866bd6e86c51679d4825ebe4d290fa2419'
layers['meta-riscv']='https://github.com/Fishwaldo/meta-riscv.git|master|49e36737e2431006c217a845e41310816a378403'
layers['meta-qt5']='https://github.com/meta-qt5/meta-qt5.git|master|cf6ffcbad5275a3428f6046468a0c9d572e813d1'
layers['yocto-meta-kf5']='https://github.com/Fishwaldo/yocto-meta-kf5.git|master|104abe6793180bac03f36fb59355abc8778e3ffd'
layers['yocto-meta-kf5']='https://github.com/Fishwaldo/yocto-meta-kf5.git|master|daa1c79cbf12176e8c8397512f80c0eb4ef6db74'
layers['yocto-meta-kde']='https://github.com/Fishwaldo/yocto-meta-kde.git|master|1ba0b84e783b4a5ec83cf883181622538566eb9c'
layers['meta-python2']='https://git.openembedded.org/meta-python2|kirkstone|f02882e2aa9279ca7becca8d0cedbffe88b5a253'
layers['meta-java']='https://github.com/meta-java/meta-java.git|kirkstone|8bf79fc2002bb83c6439d25bb63e4206894c2d10'
Expand Down

0 comments on commit 0772d1f

Please sign in to comment.