Package Details: linux-next-git-headers 20161201-1

Git Clone URL: https://aur.archlinux.org/linux-next-git.git (read-only)
Package Base: linux-next-git
Description: Header files and scripts for building modules for Linux-next-git kernel
Upstream URL: http://www.kernel.org/
Licenses: GPL2
Submitter: Nefelim4ag
Maintainer: fpqc
Last Packager: Nefelim4ag
Votes: 10
Popularity: 0.000009
First Submitted: 2014-10-12 19:04
Last Updated: 2016-12-01 20:47

Latest Comments

sevkard commented on 2017-09-06 05:24

Previous comments have been helpful in building this package successfully. In case anyone needs a how-to:

a)Open the PKGBUILD in your preferred editor.

b)Remove change-default-console-loglevel.patch from "source=" and its corresponding "md5sum=" entry. This patch is redundant as you now get to specify a loglevel during config.

c)Comment out the "add docbook makefile" part (lines 230-231), otherwise the build will fail at the end because the file is no longer in the tree.

I hope this helps you save time and avoid frustration.

parkerlreed commented on 2017-01-20 19:43

It prints a lot of errors because of the redefined DEFAULT_CONSOLE_LOGLEVEL (They actually fixed it upstream it seems)

# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
# remove this when a Kconfig knob is made available by upstream

/*
* Default used to be hard-coded at 7, we're now allowing it to be set from
* kernel config.
*/
#define CONSOLE_LOGLEVEL_DEFAULT CONFIG_CONSOLE_LOGLEVEL_DEFAULT

extern int console_printk[];

#define console_loglevel (console_printk[0])
#define default_message_loglevel (console_printk[1])
#define minimum_console_loglevel (console_printk[2])
#define default_console_loglevel (console_printk[3])

So the K config exists and this patch is no longer needed.

dequis commented on 2017-01-19 19:25

==> Starting prepare()...
patching file include/linux/printk.h
patch: **** malformed patch at line 10:

Looks like the last revision of this package removed one line from the patch file without updating the @@ part.

Nefelim4ag commented on 2016-12-01 20:37

@fpqc, i add you maintainer rights to the package %)

And i did try modify patch by your suggestion.

fpqc commented on 2016-11-30 05:58

diff --git a/include/linux/printk.h b/include/linux/printk.h
index 3472cc6..4b4986e 100644
--- a/include/linux/printk.h
+++ b/include/linux/printk.h
@@ -50,6 +50,7 @@ static inline const char *printk_skip_headers(const char *buffer)
#define CONSOLE_LOGLEVEL_SILENT 0 /* Mum's the word */
#define CONSOLE_LOGLEVEL_MIN 1 /* Minimum loglevel we let people use */
#define CONSOLE_LOGLEVEL_QUIET 4 /* Shhh ..., when booted with "quiet" */
+#define CONSOLE_LOGLEVEL_DEFAULT 4 /* Arch modified loglevel */
#define CONSOLE_LOGLEVEL_DEBUG 10 /* issue debug messages */
#define CONSOLE_LOGLEVEL_MOTORMOUTH 15 /* You can't shut this one up */


That's my modified change-default-console-loglevel. It builds with this but spits out tons of error messages you have to edit the patch to move it somewhere else.

fpqc commented on 2016-11-30 05:41

@nefelim4ag you also need to fix the change-default-console-loglevel patch. It doesn't work right now.

Nefelim4ag commented on 2016-11-29 11:35

@fpqc, you right, i forget to add file to source array.

fpqc commented on 2016-11-28 00:59

@Nefelim4ag It looks like you forgot to include 99-linux.hook as a sourcefile.

Also, the patch of printk.h is failing.

Nefelim4ag commented on 2016-11-27 14:07

@fpqc, done

fpqc commented on 2016-11-27 04:53

Hiya, you need to add the new libalpm hook for this kernel.

All comments