From a04fa47883f05d818d42640bb0cd36765db99505 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 28 Jun 2019 13:08:06 +0200 Subject: [PATCH 1/5] Update azure-pipelines-release.yml for Azure Pipelines --- azure-pipelines-release.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-release.yml b/azure-pipelines-release.yml index 7555251d3..8fca0e72b 100644 --- a/azure-pipelines-release.yml +++ b/azure-pipelines-release.yml @@ -17,9 +17,34 @@ variables: jobs: +- job: 'VersionValidate' + pool: + vmImage: 'ubuntu-latest' + steps: + - script: | + . buildroot-external/meta + + if [ "${VERSION_MAJOR}.${VERSION_BUILD}" != "$(Build.SourceBranchName)" ]; then + exit 1 + fi + displayName: 'Check version of branch/tag' + - script: | + sudo apt-get install -y --no-install-recommends \ + jq curl + release="$(Build.SourceBranchName)" + created_by="$(curl -s https://api.github.com/repos/home-assistant/hassos/releases/tags/${release} | jq --raw-output '.author.login')" + if [[ "${created_by}" =~ ^(balloob|pvizeli|fabaff|robbiet480)$ ]]; then + exit 0 + fi + echo "${created_by} is not allowed to create an release!" + exit 1 + displayName: 'Check rights' + - job: 'Release' - condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') + condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('VersionValidate')) + dependsOn: + - 'VersionValidate' timeoutInMinutes: 240 dependsOn: - 'ShellCheck' From 9f584f2c6ab9d4947ef596d06566c6650b9fca87 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 28 Jun 2019 13:10:31 +0200 Subject: [PATCH 2/5] Update azure-pipelines-release.yml for Azure Pipelines --- azure-pipelines-release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/azure-pipelines-release.yml b/azure-pipelines-release.yml index 8fca0e72b..a2fb2d1dd 100644 --- a/azure-pipelines-release.yml +++ b/azure-pipelines-release.yml @@ -18,6 +18,7 @@ variables: jobs: - job: 'VersionValidate' + condition: startsWith(variables['Build.SourceBranch'], 'refs/tags') pool: vmImage: 'ubuntu-latest' steps: @@ -42,12 +43,9 @@ jobs: - job: 'Release' - condition: and(startsWith(variables['Build.SourceBranch'], 'refs/tags'), succeeded('VersionValidate')) dependsOn: - 'VersionValidate' timeoutInMinutes: 240 - dependsOn: - - 'ShellCheck' pool: name: 'Buildroot' strategy: From 081f7124d72852d8d0293e981fb7785b9b9863ef Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Fri, 28 Jun 2019 13:16:49 +0200 Subject: [PATCH 3/5] Update azure-pipelines-release.yml for Azure Pipelines --- azure-pipelines-release.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/azure-pipelines-release.yml b/azure-pipelines-release.yml index a2fb2d1dd..8632caf68 100644 --- a/azure-pipelines-release.yml +++ b/azure-pipelines-release.yml @@ -29,17 +29,6 @@ jobs: exit 1 fi displayName: 'Check version of branch/tag' - - script: | - sudo apt-get install -y --no-install-recommends \ - jq curl - release="$(Build.SourceBranchName)" - created_by="$(curl -s https://api.github.com/repos/home-assistant/hassos/releases/tags/${release} | jq --raw-output '.author.login')" - if [[ "${created_by}" =~ ^(balloob|pvizeli|fabaff|robbiet480)$ ]]; then - exit 0 - fi - echo "${created_by} is not allowed to create an release!" - exit 1 - displayName: 'Check rights' - job: 'Release' From 0258ef641ddcadeafa43c1c842a752616dd82cd0 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 13 Jan 2020 15:54:13 +0100 Subject: [PATCH 4/5] Fix double LINUX_HEADERS --- buildroot-external/configs/ova_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/buildroot-external/configs/ova_defconfig b/buildroot-external/configs/ova_defconfig index 83480e46c..33322ccf8 100644 --- a/buildroot-external/configs/ova_defconfig +++ b/buildroot-external/configs/ova_defconfig @@ -79,7 +79,6 @@ BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/intel/barebox.config" BR2_TARGET_BAREBOX_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/barebox.config" BR2_TARGET_BAREBOX_CUSTOM_EMBEDDED_ENV_PATH="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/barebox" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_E2FSPROGS=y BR2_PACKAGE_HOST_GPTFDISK=y From e38866242256df59be80c34371b1f4163a7c1fc6 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 13 Jan 2020 15:36:56 +0100 Subject: [PATCH 5/5] Add support for TI USB 3410 or 5052 serial devices (#542) --- buildroot-external/kernel/device-support.config | 1 + 1 file changed, 1 insertion(+) diff --git a/buildroot-external/kernel/device-support.config b/buildroot-external/kernel/device-support.config index 6e75350d5..60a35b114 100644 --- a/buildroot-external/kernel/device-support.config +++ b/buildroot-external/kernel/device-support.config @@ -7,6 +7,7 @@ CONFIG_USB_SERIAL_CP210X=m CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_CH341=m +CONFIG_USB_SERIAL_TI=m CONFIG_USB_ACM=m CONFIG_USB_USBNET=m