From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: backports@vger.kernel.org
Subject: newbie questions
Date: Sun, 30 Aug 2015 19:30:53 -0500 [thread overview]
Message-ID: <55E3A03D.6050607@linux.intel.com> (raw)
Hi,
I am trying to figure out how complicated it'd be to add the sound subsystem to the list of supported packages - there are many cases where I only want the latest and greatest sound drivers and nothing else beyond the minimal dependencies. Bear with me if I am asking silly questions, I am not familiar at all with the backports environment and only tried to progress from the wiki and code.
question1: is there a way the list of packages can be selected? I'd like to use the backports infrastructure only for what I care about (media, usb, audio). It'd be really nice if I could limit the updates to the parts I care about (media, usb, sound) and remove all the networking part I don't really have a use for. It's fine if the releases include everything, I only want to limit the changes in my own workspace.
question2: I am not sure I understand how the code is generated. Nothing seems to work/compile even without my changes... If I use linux-next with the next-20150731 tag and the latest backport code, I get:
~/backports$ ./gentree.py --clean --verbose --gitdebug --git-revision v4.1.6 ../linux-next ../linux-next-backport
Get original source files from git ...
Applying patches from patches to ../linux-next-backport ...
Applying patch 0000-upstream-backport-changes/0005-uapi-compromise/mwifiex.patch
> patching file drivers/net/wireless/mwifiex/decl.h
> Hunk #1 succeeded at 26 with fuzz 1.
> patching file drivers/net/wireless/mwifiex/sta_rx.c
Applying patch backport-adjustments/crypto-ccm.patch
> patching file compat/crypto-ccm.c
> Hunk #2 succeeded at 872 (offset -60 lines).
> Hunk #3 succeeded at 898 (offset -60 lines).
Applying patch backport-adjustments/devcoredump.patch
> patching file compat/drivers-base-devcoredump.c
> patching file include/linux/backport-devcoredump.h
Not applying backport-adjustments/flow_dissector.patch, not needed
Applying patch collateral-evolutions/media/0001-dma_mmap_coherent-revert.patch
> patching file drivers/media/v4l2-core/videobuf2-dma-contig.c
Applying patch collateral-evolutions/media/0002-no_dmabuf/v4l2.patch
> patching file drivers/media/v4l2-core/Kconfig
> Hunk #1 succeeded at 68 (offset -11 lines).
> Hunk #2 succeeded at 79 (offset -11 lines).
> patching file drivers/media/v4l2-core/v4l2-mem2mem.c
> Hunk #1 succeeded at 440 (offset -19 lines).
> Hunk #2 succeeded at 454 (offset -19 lines).
> Hunk #3 succeeded at 805 with fuzz 2 (offset -36 lines).
> Hunk #4 succeeded at 814 (offset -36 lines).
> patching file drivers/media/v4l2-core/videobuf2-core.c
> Hunk #1 succeeded at 252 (offset -1 lines).
> Hunk #2 succeeded at 281 (offset -1 lines).
> Hunk #3 succeeded at 425 (offset -1 lines).
> Hunk #4 succeeded at 787 (offset -1 lines).
> Hunk #5 succeeded at 801 (offset -1 lines).
> Hunk #6 succeeded at 835 (offset -1 lines).
> Hunk #7 succeeded at 1502 (offset -5 lines).
> Hunk #8 succeeded at 1621 (offset -5 lines).
> Hunk #9 succeeded at 1684 (offset -5 lines).
> Hunk #10 succeeded at 2074 (offset -10 lines).
> Hunk #11 succeeded at 2085 (offset -10 lines).
> Hunk #12 succeeded at 2094 (offset -10 lines).
> Hunk #13 succeeded at 2401 (offset -14 lines).
> Hunk #14 succeeded at 2479 (offset -14 lines).
> Hunk #15 succeeded at 3417 (offset -22 lines).
> Hunk #16 succeeded at 3427 (offset -22 lines).
> patching file drivers/media/v4l2-core/videobuf2-dma-contig.c
> patching file drivers/media/v4l2-core/videobuf2-vmalloc.c
> patching file include/media/v4l2-mem2mem.h
> Hunk #1 succeeded at 119 (offset -2 lines).
> Hunk #2 succeeded at 244 (offset -2 lines).
> patching file include/media/videobuf2-core.h
> Hunk #3 succeeded at 463 (offset -4 lines).
> Hunk #4 succeeded at 630 (offset -13 lines).
> patching file drivers/media/usb/uvc/uvc_queue.c
> Hunk #1 FAILED at 270.
> Hunk #2 succeeded at 269 (offset -12 lines).
> 1 out of 2 hunks FAILED -- saving rejects to file drivers/media/usb/uvc/uvc_queue.c.rej
> patching file drivers/media/v4l2-core/videobuf2-dma-sg.c
> Hunk #1 succeeded at 373 (offset -4 lines).
Traceback (most recent call last):
File "./gentree.py", line 1091, in <module>
ret = _main()
File "./gentree.py", line 724, in _main
logwrite=logwrite)
File "./gentree.py", line 906, in process
apply_patches(args, "backport", source_dir, 'patches', bpid.target_dir, logwrite)
File "./gentree.py", line 552, in apply_patches
raise Exception('Patch failed')
Exception: Patch failed
Now if I use branch origin/linux-4.1.y, the tree is generated but usually doesn't compile (random options selected)
Can anyone help with a known config that works?
question 3: how exactly does ckmake work and what am I missing?
:~/backports$ ./devel/ckmake
[snip] backports/Makefile does not exist
Thanks,
-Pierre
--
To unsubscribe from this list: send the line "unsubscribe backports" in
next reply other threads:[~2015-08-31 0:30 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-31 0:30 Pierre-Louis Bossart [this message]
2015-08-31 7:43 ` newbie questions Johannes Berg
2015-08-31 12:50 ` Pierre-Louis Bossart
2015-08-31 12:54 ` Johannes Berg
2015-08-31 13:21 ` Pierre-Louis Bossart
2015-08-31 13:33 ` Johannes Berg
2015-08-31 14:26 ` Pierre-Louis Bossart
2015-08-31 14:38 ` Johannes Berg
-- strict thread matches above, loose matches on Subject: below --
2021-06-18 16:31 Newbie questions Ethy H. Brito
2021-06-18 17:40 ` Jesper Dangaard Brouer
2021-06-18 20:37 ` Ethy H. Brito
2021-06-22 1:28 ` Ethy H. Brito
2021-06-22 9:18 ` Jesper Dangaard Brouer
2012-10-06 15:31 Mark Kampe
2012-10-07 0:08 ` Adam Nielsen
2012-10-07 0:34 ` Mark Kampe
2012-10-01 12:30 Adam Nielsen
2012-10-01 13:20 ` Joao Eduardo Luis
2012-10-01 16:13 ` Sage Weil
2012-10-06 15:05 ` Adam Nielsen
2005-11-01 17:33 Larry Alkoff
2005-11-02 5:41 ` Justin Zygmont
2005-11-03 0:55 ` Ralph Alvy
2005-11-03 4:12 ` Larry Alkoff
2005-11-03 6:17 ` Ralph Alvy
2005-11-03 7:32 ` John R. Sowden
2005-11-03 19:02 ` Larry Alkoff
2005-11-03 21:26 ` John R. Sowden
2005-11-04 3:45 ` Justin Zygmont
2005-11-05 17:06 ` Ralph Alvy
2005-11-05 19:25 ` Larry Alkoff
2005-11-06 0:42 ` Ralph Alvy
[not found] ` <436F5554.2030304@pobox.com>
[not found] ` <200511070723.31259.ralvy@warpmail.net>
2005-11-07 16:36 ` Alain
2005-11-09 7:46 ` Ralph Alvy
2005-10-06 18:17 Gaurav Poothia
2005-10-06 21:04 ` Ivan Gyurdiev
2005-10-06 22:05 ` Luke Kenneth Casson Leighton
2005-10-06 18:12 Gaurav Poothia
2005-01-19 15:07 Scott Miller
2005-01-19 15:10 ` Geert Uytterhoeven
2005-01-19 20:53 ` Scott Miller
2004-12-15 19:49 Newbie Questions Joseph Swaminathan
2004-12-15 20:23 ` Marco Gerards
2004-12-15 20:51 ` Joseph Swaminathan
2004-12-15 20:56 ` Marco Gerards
2004-03-25 21:32 Newbie questions Jan Rychter
2004-03-26 2:26 ` Steven Hand
2004-04-07 21:08 ` Jan Rychter
2004-03-26 2:35 ` Ian Pratt
2002-08-03 4:10 Gustavo Sverzut Barbieri
[not found] ` <20020803041040.10310.qmail-L8+/D2FWflyA/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2002-08-03 12:49 ` Axel Siebenwirth
[not found] <200204070157.g371vDs24544@superglide.netfx-2000.net>
2002-04-25 8:10 ` Newbie Questions Daniel
2002-04-09 21:39 Gyzmobro
2002-04-09 22:14 ` Glynn Clements
2001-12-11 23:44 Slightly confuzed Charles Steinkuehler
2001-12-12 14:59 ` Newbie questions Charles Steinkuehler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55E3A03D.6050607@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=backports@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.