summaryrefslogtreecommitdiff
path: root/scripts/build-submodules
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2019-01-01 23:37:16 +0100
committerRunar Borge <runar@borge.nu>2019-01-01 23:37:16 +0100
commita47e9599b48e5402a1b14228cf6e019078116365 (patch)
treea2665e2754449bc7b8800ffc10c468b19b56acca /scripts/build-submodules
parentb66718a87b2599e34945000d2301959cce90152a (diff)
parent23e35e77feca41b5ef0efee80832c7106d7862ab (diff)
downloadvyos-build-a47e9599b48e5402a1b14228cf6e019078116365.tar.gz
vyos-build-a47e9599b48e5402a1b14228cf6e019078116365.zip
Merge remote-tracking branch 'upstream/current' into current
Diffstat (limited to 'scripts/build-submodules')
-rwxr-xr-xscripts/build-submodules2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-submodules b/scripts/build-submodules
index c89d4388..43568cfd 100755
--- a/scripts/build-submodules
+++ b/scripts/build-submodules
@@ -118,7 +118,7 @@ if [ -f "packages/vyos-kernel/Makefile" ]; then
PATCHLEVEL=$(grep "^PATCHLEVEL" Makefile | grep -Eo '[0-9]{1,4}')
SUBLEVEL=$(grep "^SUBLEVEL" Makefile | grep -Eo '[0-9]{1,4}')
ARCH=$(dpkg --print-architecture)
- sed -i.bak "s/--linux-packages .* \\\/--linux-packages linux-image-$VERSION\.$PATCHLEVEL\.$SUBLEVEL \\\/" $ROOTDIR/scripts/live-build-config
+ echo "$VERSION.$PATCHLEVEL.$SUBLEVEL" > $ROOTDIR/data/kernel_version
status_ok
fi
popd > /dev/null