mirror of
https://github.com/rancher/os.git
synced 2025-08-31 14:23:11 +00:00
Add version string to the initrd file so we can have 2 modern initrd's on the disk
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
||||
DIRTY="-dirty"
|
||||
fi
|
||||
@@ -13,7 +15,8 @@ if [ -z "$VERSION" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
export VERSION COMMIT
|
||||
INITRD=${ARTIFACTS}/initrd-${VERSION}
|
||||
export VERSION COMMIT INITRD
|
||||
|
||||
# Suffix
|
||||
export SUFFIX=""
|
||||
|
Reference in New Issue
Block a user