[oe-commits] org.oe.dev helloworld: helloworld is easy, fixing my own commits is not.

likewise commit openembedded-commits at lists.openembedded.org
Thu May 17 21:04:54 UTC 2007


helloworld: helloworld is easy, fixing my own commits is not.

Author: likewise at openembedded.org
Branch: org.openembedded.dev
Revision: 90a3055e641e550e32a77ad0505f7b4d70410e2d
ViewMTN: http://monotone.openembedded.org/revision.psp?id=90a3055e641e550e32a77ad0505f7b4d70410e2d
Files:
1
packages/helloworld/helloworld_1.0.0.bb
packages/images/helloworld-image.bb
Diffs:

#
# mt diff -r6e2c36793bcbcf10d59e0d7c381887922d8322a5 -r90a3055e641e550e32a77ad0505f7b4d70410e2d
#
# 
# 
# patch "packages/helloworld/helloworld_1.0.0.bb"
#  from [492893ab2416dc2fd82d53b0d4050c585b9b06e3]
#    to [ff6a98a829c03ec3edde494f5342ff80d5a39a58]
# 
# patch "packages/images/helloworld-image.bb"
#  from [9af31161384a1629809fec960cae7439f031a632]
#    to [1fe93c338852dd78cd17c1f8497c9f8ce9a7dcf0]
# 
============================================================
--- packages/helloworld/helloworld_1.0.0.bb	492893ab2416dc2fd82d53b0d4050c585b9b06e3
+++ packages/helloworld/helloworld_1.0.0.bb	ff6a98a829c03ec3edde494f5342ff80d5a39a58
@@ -23,28 +23,3 @@ do_install () {
 	ln -sf ${bindir}/helloworld ${D}${base_bindir}/init
 }
 
-DESCRIPTION = "Minimal statically compiled Hello world!"
-LICENSE = "GPL"
-PR = "r0"
-
-S = "${WORKDIR}/${P}"
-
-do_fetch () {
-	mkdir -p ${WORKDIR}/${P}
-	cd ${WORKDIR}/${P}
-	echo -e "#include <stdio.h>\nint main(void)\n{\n\tprintf(\"Hello world!\\\n\");\twhile(1);\n\treturn 0;\n}\n" >helloworld.c
-}
-
-do_compile () {
-	${CC} -o helloworld helloworld.c -static
-}
-
-do_install () {
-	install -d ${D}${bindir}
-	install -m 0755 helloworld ${D}${bindir}/
-	# /bin/init is on purpose, it is tried after /sbin/init and /etc/init
-	# so if a sysvinit is installed, it will be used instead of helloworld
-	install -d ${D}${base_bindir}
-	ln -sf ${bindir}/helloworld ${D}${base_bindir}/init
-}
-
============================================================
--- packages/images/helloworld-image.bb	9af31161384a1629809fec960cae7439f031a632
+++ packages/images/helloworld-image.bb	1fe93c338852dd78cd17c1f8497c9f8ce9a7dcf0
@@ -12,17 +12,3 @@ inherit image
 
 inherit image
 
-# Hello world image
-# Contains *only* a statically linked hello world init program
-LICENSE = "MIT"
-PR = "r0"
-
-RDEPENDS = "helloworld"
-
-export IMAGE_BASENAME = "helloworld-image"
-export IMAGE_LINGUAS = ""
-
-PACKAGE_INSTALL = ${RDEPENDS}
-
-inherit image
-






More information about the Openembedded-commits mailing list