From c79dec3ba517967c09ef398b20d577271774df19 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 28 Feb 2017 22:28:55 +0100 Subject: Add bash shebangs to all our includes: github misidentifies lots of includes in its code stats and syntax highlighting. Try to make it a nicer place by giving it a hint via that shebang. It's actually useless in files that are being sourced, but it doesn't hurt either. --- core/modules/kernel/module.build | 1 + core/modules/kernel/module.conf | 1 + core/modules/kernel/module.conf.centos | 1 + core/modules/kernel/module.conf.fedora | 1 + core/modules/kernel/module.conf.opensuse | 1 + core/modules/kernel/module.conf.ubuntu | 1 + core/modules/kernel/module.conf.ubuntu.13.04 | 1 + core/modules/kernel/module.conf.ubuntu.14.04 | 1 + 8 files changed, 8 insertions(+) (limited to 'core/modules/kernel') diff --git a/core/modules/kernel/module.build b/core/modules/kernel/module.build index f2245ee0..bb825fac 100644 --- a/core/modules/kernel/module.build +++ b/core/modules/kernel/module.build @@ -1,3 +1,4 @@ +#!/bin/bash # Customized kernel from system: fetch Distro's kernel sources, patch configuration, recompile # This overrides get_kernel_version from kernel.inc, so the variables will be set properly diff --git a/core/modules/kernel/module.conf b/core/modules/kernel/module.conf index 0cd03752..8811668a 100644 --- a/core/modules/kernel/module.conf +++ b/core/modules/kernel/module.conf @@ -1,3 +1,4 @@ +#!/bin/bash REQUIRED_BINARIES="" REQUIRED_LIBRARIES="" REQUIRED_DIRECTORIES="" diff --git a/core/modules/kernel/module.conf.centos b/core/modules/kernel/module.conf.centos index 2e958ce4..e8d7c344 100644 --- a/core/modules/kernel/module.conf.centos +++ b/core/modules/kernel/module.conf.centos @@ -1,3 +1,4 @@ +#!/bin/bash REQUIRED_GIT_BRANCH="v${SYSTEM_KERNEL_SHORT%.0}" REQUIRED_GIT="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git" diff --git a/core/modules/kernel/module.conf.fedora b/core/modules/kernel/module.conf.fedora index 53e6ccb6..66391bbe 100644 --- a/core/modules/kernel/module.conf.fedora +++ b/core/modules/kernel/module.conf.fedora @@ -1,3 +1,4 @@ +#!/bin/bash REQUIRED_GIT_BRANCH="v${SYSTEM_KERNEL_SHORT}" REQUIRED_GIT="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git" diff --git a/core/modules/kernel/module.conf.opensuse b/core/modules/kernel/module.conf.opensuse index cdf57cc7..38518d0d 100644 --- a/core/modules/kernel/module.conf.opensuse +++ b/core/modules/kernel/module.conf.opensuse @@ -1,3 +1,4 @@ +#!/bin/bash REQUIRED_GIT_BRANCH="openSUSE-${SYS_VERSION}" REQUIRED_GIT="git://kernel.opensuse.org/kernel.git" diff --git a/core/modules/kernel/module.conf.ubuntu b/core/modules/kernel/module.conf.ubuntu index 1cab5fcd..a35fbce1 100644 --- a/core/modules/kernel/module.conf.ubuntu +++ b/core/modules/kernel/module.conf.ubuntu @@ -1,2 +1,3 @@ +#!/bin/bash REQUIRED_GIT_BRANCH="master" REQUIRED_GIT="git://kernel.ubuntu.com/ubuntu/ubuntu-${SYS_CODENAME}.git" diff --git a/core/modules/kernel/module.conf.ubuntu.13.04 b/core/modules/kernel/module.conf.ubuntu.13.04 index e9192f01..cce71339 100644 --- a/core/modules/kernel/module.conf.ubuntu.13.04 +++ b/core/modules/kernel/module.conf.ubuntu.13.04 @@ -1,2 +1,3 @@ +#!/bin/bash REQUIRED_GIT_BRANCH="-b master" REQUIRED_GIT="git://kernel.ubuntu.com/ubuntu-archive/ubuntu-${SYS_CODENAME}.git $REQUIRED_GIT_BRANCH" diff --git a/core/modules/kernel/module.conf.ubuntu.14.04 b/core/modules/kernel/module.conf.ubuntu.14.04 index 77ae8d18..85a1b0f8 100644 --- a/core/modules/kernel/module.conf.ubuntu.14.04 +++ b/core/modules/kernel/module.conf.ubuntu.14.04 @@ -1,2 +1,3 @@ +#!/bin/bash REQUIRED_GIT_BRANCH="lts-backport-vivid" REQUIRED_GIT="git://kernel.ubuntu.com/ubuntu/ubuntu-${SYS_CODENAME}.git" -- cgit v1.2.3-55-g7522