diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-1024x768-noedid.ini b/srcpkgs/odroid-u2-base/files/boot-1024x768-noedid.ini similarity index 100% rename from srcpkgs/odroid-u2-ubootcfg/files/boot-1024x768-noedid.ini rename to srcpkgs/odroid-u2-base/files/boot-1024x768-noedid.ini diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.ini b/srcpkgs/odroid-u2-base/files/boot-1080p-edid.ini similarity index 100% rename from srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-edid.ini rename to srcpkgs/odroid-u2-base/files/boot-1080p-edid.ini diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.ini b/srcpkgs/odroid-u2-base/files/boot-1080p-noedid.ini similarity index 100% rename from srcpkgs/odroid-u2-ubootcfg/files/boot-1080p-noedid.ini rename to srcpkgs/odroid-u2-base/files/boot-1080p-noedid.ini diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.ini b/srcpkgs/odroid-u2-base/files/boot-720p-edid.ini similarity index 100% rename from srcpkgs/odroid-u2-ubootcfg/files/boot-720p-edid.ini rename to srcpkgs/odroid-u2-base/files/boot-720p-edid.ini diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.ini b/srcpkgs/odroid-u2-base/files/boot-720p-noedid.ini similarity index 100% rename from srcpkgs/odroid-u2-ubootcfg/files/boot-720p-noedid.ini rename to srcpkgs/odroid-u2-base/files/boot-720p-noedid.ini diff --git a/srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.ini b/srcpkgs/odroid-u2-base/files/boot-auto_edid.ini similarity index 100% rename from srcpkgs/odroid-u2-ubootcfg/files/boot-auto_edid.ini rename to srcpkgs/odroid-u2-base/files/boot-auto_edid.ini diff --git a/srcpkgs/odroid-u2-ubootcfg/template b/srcpkgs/odroid-u2-base/template similarity index 58% rename from srcpkgs/odroid-u2-ubootcfg/template rename to srcpkgs/odroid-u2-base/template index 5721c68500c..89605782e14 100644 --- a/srcpkgs/odroid-u2-ubootcfg/template +++ b/srcpkgs/odroid-u2-base/template @@ -1,16 +1,20 @@ -# Template file for 'odroid-u2-bootcfg' -pkgname=odroid-u2-ubootcfg +# Template file for 'odroid-u2-base' +pkgname=odroid-u2-base version=1.0 -revision=2 -homepage="http://hardkernel.com" +revision=1 +homepage="http://www.voidlinux.eu" hostmakedepends="uboot-mkimage" -short_desc="odroid u2/u3 boot configuration" +depends="base-system" +short_desc="ODROID U2/U3 base files" maintainer="Enno Boland " license="GPL-2.0" +provides="odroid-ubootcfg-${version}_${revision}" +replaces="odroid-ubootcfg>=0" _default_scr="boot-auto_edid.scr" do_build() { + # Building uboot scr's for source in ${FILESDIR}/*.ini; do name=$(basename ${source%.ini}) mkimage -A arm -T script -C none -n "${name}" -d $source ${name}.scr @@ -19,6 +23,7 @@ do_build() { } do_install() { + # Installing uboot scr's for scr in *.scr; do echo $scr vinstall $scr 600 boot