Skip to contentSkip to conversation

vboxguestdrivers: import recipe from meta-luneos

PATCH Superseded Martin Jansa 3 participants 6 messages Mar 2, 2015 – Mar 3, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vboxguestdrivers: import recipe from meta-luneos

* useful to run our qemu* builds inside VirtualBox

---
 .../vboxguestdrivers/Makefile.utils                | 43 ++++++++++++++
 .../vboxguestdrivers/vboxguestdrivers_4.3.22.bb    | 65 ++++++++++++++++++++++
 2 files changed, 108 insertions(+)
 create mode 100644 meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/Makefile.utils
 create mode 100644 meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_4.3.22.bb
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/Makefile.utils new file +43 -0
new file mode 100644
index 0000000..3749b95
@@ -0,0 +1,43 @@
+## -----------------------------------------------------------------------
+##
+##   Copyright 2001-2008 H. Peter Anvin - All Rights Reserved
+##
+##   This program is free software; you can redistribute it and/or modify
+##   it under the terms of the GNU General Public License as published by
+##   the Free Software Foundation, Inc., 53 Temple Place Ste 330,
+##   Boston MA 02111-1307, USA; either version 2 of the License, or
+##   (at your option) any later version; incorporated herein by reference.
+##
+## -----------------------------------------------------------------------
+
+INCLUDES = -I. -I../vboxsf
+CFLAGS	 = ${INCLUDES}
+LDFLAGS	 =
+
+SRCS     = mount.vboxsf.c \
+           vbsfmount.c
+
+OBJS	 = $(patsubst %.c,%.o,$(notdir $(SRCS)))
+
+.SUFFIXES: .c .o .i .s .S
+
+
+all: mount.vboxsf
+
+clean:
+	-rm -f *.o mount.vboxsf
+
+spotless: clean
+	-rm -f *~
+
+mount.vboxsf: $(OBJS)
+	$(CC) $(LDFLAGS) -o $@ $^
+
+%.o: %.c
+	$(CC) $(UMAKEDEPS) $(CFLAGS) -c -o $@ $<
+%.i: %.c
+	$(CC) $(UMAKEDEPS) $(CFLAGS) -E -o $@ $<
+%.s: %.c
+	$(CC) $(UMAKEDEPS) $(CFLAGS) -S -o $@ $<
+
+-include .*.d *.tmp
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_4.3.22.bb new file +65 -0

65 lines not on this page · raw message

Signature · 1 line
2.3.1
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Jansa schreef op 02-03-15 om 09:02:

Quoted 10 lines

* useful to run our qemu* builds inside VirtualBox

.../vboxguestdrivers/Makefile.utils | 43 ++++++++++++++
.../vboxguestdrivers/vboxguestdrivers_4.3.22.bb | 65
++++++++++++++++++++++

+PACKAGES += "kernel-module-vboxguest kernel-module-vboxsf kernel-module-vboxvideo" +RDEPENDS_${PN} += "kernel-module-vboxguest kernel-module-vboxsf kernel-module-vboxvideo"

Please don't ever RDEPEND on kernel modules, even when the recipe will build them, it sets a bad precedent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFU9DnmMkyGM64RGpERAu+jAJ92mQgg4UU7QBoaClZcMsh7Bd/8+wCggBRt iXq6vplV1z4aJMxG2xY9+nk=
=SREn
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 11 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Jansa schreef op 02-03-15 om 09:02:

Quoted 6 lines

* useful to run our qemu* builds inside VirtualBox

.../vboxguestdrivers/Makefile.utils | 43 ++++++++++++++
.../vboxguestdrivers/vboxguestdrivers_4.3.22.bb | 65
++++++++++++++++++++++

Quoted 6 lines
Quoted 3 lines

+PACKAGES += "kernel-module-vboxguest kernel-module-vboxsf kernel-module-vboxvideo" +RDEPENDS_${PN} += "kernel-module-vboxguest kernel-module-vboxsf kernel-module-vboxvideo"

Please don't ever RDEPEND on kernel modules, even when the recipe will build them, it sets a bad precedent.

I think it makes sense in this case.. nobody will ever include them in kernel image and vboxguestdrivers utils don't make much sense without the modules installed.

Quoted 13 lines

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFU9DnmMkyGM64RGpERAu+jAJ92mQgg4UU7QBoaClZcMsh7Bd/8+wCggBRt iXq6vplV1z4aJMxG2xY9+nk=
=SREn
-----END PGP SIGNATURE-----

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#3 lore raw

Hi,

Quoted 6 lines · Martin Jansa
Quoted 2 lines

Please don't ever RDEPEND on kernel modules, even when the recipe will build them, it sets a bad precedent.

I think it makes sense in this case.. nobody will ever include them in kernel image and vboxguestdrivers utils don't make much sense without the modules installed.

I see its unlikely but in some cases (e.g. highly secure environments) you do not want to use modules at all. So unless there is a real need to depend on the modules I would just recommend it.

Greetings

Florian

Signature · 5 lines
The dream of yesterday                  Florian Boor
is the hope of today                    Tel: +49 271-771091-15
and the reality of tomorrow.            Fax: +49 271-771091-19
[Robert Hutchings Goddard, 1904]        [email protected]
                                        http://www.kernelconcepts.de/en
#4 lore raw
Quoted 6 lines · Florian Boor

Hi,

Quoted 2 lines · Martin Jansa
Quoted 2 lines

Please don't ever RDEPEND on kernel modules, even when the recipe will build them, it sets a bad precedent.

Quoted 7 lines
Quoted 3 lines

I think it makes sense in this case.. nobody will ever include them in kernel image and vboxguestdrivers utils don't make much sense without the modules installed.

I see its unlikely but in some cases (e.g. highly secure environments) you do not want to use modules at all. So unless there is a real need to depend on the modules I would just recommend it.

In such environment you won't be installing vboxguestdrivers package, right?

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
In reply to Martin Jansa

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Jansa schreef op 02-03-15 om 11:26:

Quoted 9 lines

On Mon, Mar 02, 2015 at 11:22:30AM +0100, Koen Kooi wrote: Martin Jansa schreef op 02-03-15 om 09:02:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

* useful to run our qemu* builds inside VirtualBox

.../vboxguestdrivers/Makefile.utils | 43
++++++++++++++ .../vboxguestdrivers/vboxguestdrivers_4.3.22.bb |
65 ++++++++++++++++++++++

Quoted 11 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

+PACKAGES += "kernel-module-vboxguest kernel-module-vboxsf kernel-module-vboxvideo" +RDEPENDS_${PN} += "kernel-module-vboxguest kernel-module-vboxsf kernel-module-vboxvideo"

Please don't ever RDEPEND on kernel modules, even when the recipe will build them, it sets a bad precedent.

Quoted 3 lines

I think it makes sense in this case.. nobody will ever include them in kernel image and vboxguestdrivers utils don't make much sense without the modules installed.

I agree completely with that, my objection is setting a bad precedent that people will copy/paste into other recipes.
I see v2 has RRECOMMENDS, thank you for changing it.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFU9XykMkyGM64RGpERAtp/AJ9/M6P16FGCn/EvTXEWCygoon+NHACfWKPA j0bXmjsmVkWxKsJ+e5Ulaog=
=H4No
-----END PGP SIGNATURE-----