openzaurus branding: new package 'openzaurus-version' contain /etc/openzaurus-version
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 23 Jan 2006 13:18:11 +0000 (13:18 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 23 Jan 2006 13:18:11 +0000 (13:18 +0000)
- support in gpe-conf/sysinfo is planned in 0.1.29
- support in opie/sysinfo is in CVS, will be backported

conf/distro/openzaurus.conf
packages/openzaurus/.mtn2git_empty [new file with mode: 0644]
packages/openzaurus/openzaurus-version.bb [new file with mode: 0644]

index b110ad8..edcbacc 100644 (file)
@@ -11,8 +11,10 @@ INHERIT += " package_ipk debian"
 TARGET_OS = "linux"
 TARGET_FPU = "soft"
 
+BOOTSTRAP_EXTRA_RDEPENDS += "openzaurus-version"
+
 PARALLEL_INSTALL_MODULES = "1"
 
 DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION if you really want to build an unversioned distro')}"
 
-include conf/distro/include/multimachine.conf
\ No newline at end of file
+include conf/distro/include/multimachine.conf
diff --git a/packages/openzaurus/.mtn2git_empty b/packages/openzaurus/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/openzaurus/openzaurus-version.bb b/packages/openzaurus/openzaurus-version.bb
new file mode 100644 (file)
index 0000000..925c54e
--- /dev/null
@@ -0,0 +1,8 @@
+MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>"
+PV = ${DISTRO_VERSION}
+
+do_compile() {
+       mkdir -p ${D}${sysconfdir}
+       echo "OpenZaurus ${DISTRO_VERSION}" > ${D}${sysconfdir}/openzaurus-version
+
+}