Skip to content

Commit

Permalink
Merge pull request #25 from DieterReuter/fix-versioning
Browse files Browse the repository at this point in the history
Fix versioning of os-rootfs
  • Loading branch information
DieterReuter authored Nov 1, 2017
2 parents 9095581 + 2cbc70d commit 1b21be3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion builder/chroot-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#TODO:+++ remove as soon as we do have a Debian Stretch os-rootfs image
# set HypriotOS version infos
BUILD_ARCH="${BUILD_ARCH:-arm64}"
HYPRIOT_OS_VERSION="${HYPRIOT_OS_VERSION:-v1.1.1}"
HYPRIOT_OS_VERSION="${HYPRIOT_OS_VERSION:-v1.2.3}"
echo "HYPRIOT_OS=\"HypriotOS/${BUILD_ARCH}\"" >> /etc/os-release
echo "HYPRIOT_OS_VERSION=\"${HYPRIOT_OS_VERSION}\"" >> /etc/os-release
#TODO:---
Expand Down
1 change: 1 addition & 0 deletions builder/files/boot/user-data
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ package_upgrade: false
# - ntp

# # WiFi connect to HotSpot
# # - use `wpa_passphrase SSID PASSWORD` to encrypt the psk
# write_files:
# - content: |
# allow-hotplug wlan0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
it { should be_owned_by 'root' }
its(:content) { should contain /ID=debian/ }
its(:content) { should match /HYPRIOT_OS="HypriotOS\/arm64"/ }
its(:content) { should match /HYPRIOT_OS_VERSION="v1.1.1"/ }
its(:content) { should match /HYPRIOT_OS_VERSION="v1.2.3"/ }
its(:content) { should match /HYPRIOT_DEVICE="Raspberry Pi 3 64bit"/ }
its(:content) { should match /HYPRIOT_IMAGE_VERSION=/ }
end
Expand All @@ -17,7 +17,7 @@
it { should be_owned_by 'root' }
its(:content) { should contain /ID=debian/ }
its(:content) { should match /HYPRIOT_OS="HypriotOS\/arm64"/ }
its(:content) { should match /HYPRIOT_OS_VERSION="v1.1.1"/ }
its(:content) { should match /HYPRIOT_OS_VERSION="v1.2.3"/ }
its(:content) { should match /HYPRIOT_DEVICE="Raspberry Pi 3 64bit"/ }
its(:content) { should match /HYPRIOT_IMAGE_VERSION=/ }
end

0 comments on commit 1b21be3

Please sign in to comment.