From eff81a37143aaf78bb5d60e81e366fb5977265ae Mon Sep 17 00:00:00 2001 From: Miguel Bernal Marin Date: Sun, 17 Mar 2019 11:36:14 -0600 Subject: [PATCH] use upstream-tag file --- linux-iot-lts2018.spec | 7 ++++--- release | 2 +- upstream-tag | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 upstream-tag diff --git a/linux-iot-lts2018.spec b/linux-iot-lts2018.spec index 440544c5..f8a65135 100644 --- a/linux-iot-lts2018.spec +++ b/linux-iot-lts2018.spec @@ -18,7 +18,7 @@ Version: 4.19.28 # upstream number is the number from PKT it consist in # YYMMDDHHMM a 10 length number %global upstreamnumber 1903120848 -Release: 31 +Release: 32 License: GPL-2.0 Summary: The Linux kernel Url: http://www.kernel.org/ @@ -29,6 +29,7 @@ Source2: config-iot-lts2018-sos Source3: cmdline-iot-lts2018 Source4: cmdline-iot-lts2018-sos Source5: fragment-sos +Source6: upstream-tag # quilt.url: https://github.com/intel/linux-intel-quilt # quilt.branch: 4.19/base @@ -2217,6 +2218,7 @@ cp %{SOURCE2} . cp %{SOURCE3} . cp %{SOURCE4} . cp %{SOURCE5} . +cp %{SOURCE6} . cp -a /usr/lib/firmware/i915 firmware/ cp -a /usr/lib/firmware/intel-ucode firmware/ cp -a /usr/lib/firmware/intel firmware/ @@ -2255,11 +2257,10 @@ InstallKernel() { install -m 644 ${Target}/System.map ${KernelDir}/System.map-${Kversion} install -m 644 ${Target}/vmlinux ${KernelDir}/vmlinux-${Kversion} install -m 644 cmdline-${Target} ${KernelDir}/cmdline-${Kversion} + install -m 644 upstream-tag ${KernelDir}/upstream-tag-${Kversion} cp ${Target}/arch/x86/boot/bzImage ${KernelDir}/org.clearlinux.${Target}.%{version}-%{release} chmod 755 ${KernelDir}/org.clearlinux.${Target}.%{version}-%{release} - echo lts-v4.19.28-base-190312T084846Z | tee ${KernelDir}/upstream-tag-${Kversion} - mkdir -p %{buildroot}/usr/lib/modules make O=${Target} -s ARCH=${Arch} INSTALL_MOD_PATH=%{buildroot}/usr modules_install diff --git a/release b/release index e85087af..f5c89552 100644 --- a/release +++ b/release @@ -1 +1 @@ -31 +32 diff --git a/upstream-tag b/upstream-tag new file mode 100644 index 00000000..9d7674dd --- /dev/null +++ b/upstream-tag @@ -0,0 +1 @@ +lts-v4.19.28-base-190312T084846Z