Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Changing the APT test logic in install.sh#356

Closed
bureado wants to merge 2 commits intoAzure:developfrom
bureado:bureado-patch-1
Closed

Changing the APT test logic in install.sh#356
bureado wants to merge 2 commits intoAzure:developfrom
bureado:bureado-patch-1

Conversation

@bureado
Copy link
Member

@bureado bureado commented Aug 4, 2020

Changing pre-apt test to use ID_LIKE instead of just ID, potentially enabling installation in more Debian-derived distributions. This is related to #355.

Pull Request Checklist

  • Review the contributing guidelines
  • Outstanding issue linked, if applicable
  • PR should only be opened against master if it includes no features (open against develop otherwise)
  • Commit messages should conform to good style practices
  • PR should pass all checks and have no conflicts

Description

This was successfully tested in a Debian-derived distro that has an arbitrary ID but where /etc/os-release also had an ID_LIKE pointing to Debian. It should also be tested in Debian and Ubuntu proper (across all supported releases), noting that Ubuntu uses ID_LIKE as well.

bureado added 2 commits August 3, 2020 18:48
Changing pre-apt test to use ID_LIKE instead of just ID, potentially enabling installation in more Debian-derived distributions
Adding a DISTRIB_ID check to converge in the case of Debian upstream
@edyoung
Copy link

edyoung commented Aug 28, 2020

Hi folks, any updates on this one? Currently blocking upgrading Azure Cloud Shell to a newer base image. If this can't be resolved we will have to drop batch-shipyard because we can't stay on current image indefinitely.

@alfpark
Copy link
Collaborator

alfpark commented Sep 2, 2020

@edyoung thanks for following up - is there a proposed drop date?

@edyoung
Copy link

edyoung commented Oct 6, 2020

@alfpark I'm still trying to fix a couple other issues but I would like to release this month or early next.

@@ -157,7 +158,7 @@ echo "Detected OS: $DISTRIB_ID $DISTRIB_RELEASE"

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might want to echo $DISTRIB_LIKE as well

@alfpark alfpark force-pushed the develop branch 8 times, most recently from 5681bfb to dc41a19 Compare April 26, 2021 20:55
@alfpark
Copy link
Collaborator

alfpark commented Oct 1, 2021

cbld and ID_LIKE will be supported.

@alfpark alfpark closed this Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants