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

Changing the APT test logic in install.sh #356

Closed
wants to merge 2 commits into from

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.

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