Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BusyBox realpath does not support -s flag, fallback to use no flags #384

Merged
merged 2 commits into from
Feb 20, 2020

Conversation

timvisee
Copy link
Contributor

Not all realpath implementations support the used -s flag, such as the BusyBox version.

I'm using this on an Alpine based host which uses BusyBox. This patch makes the realpath command fall back to omit the -s flag on error.

@XECDesign XECDesign merged commit 65f91b8 into RPi-Distro:master Feb 20, 2020
@XECDesign
Copy link
Member

Thanks

edurenye pushed a commit to edurenye/pigall-gen that referenced this pull request May 20, 2020
…Pi-Distro#384)

* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
oschrenk added a commit to oschrenk/pi-gen that referenced this pull request Jul 5, 2020
* upstream:
  stage2: install raspinfo
  Add new changelog entry
  Update release notes
  Bookshelf PDF download
  Exposed RELEASE as a configurable variable (RPi-Distro#391)
  Dockerfile: use --no-install-recommends in apt-get install (RPi-Distro#383)
  BusyBox realpath does not support -s flag, fallback to use no flags (RPi-Distro#384)
  Retry apt downloads 3 times
  Update release notes
  Update release notes
  Update release notes
  Update release notes
  Update release notes
  Update release notes
  Update persistent rkfill files
  Update MagPi URL scheme
  stage5: install code-the-classics
  Update ROOT_MARGIN
  Rename HOSTNAME variable to TARGET_HOSTNAME
PeterJohnson pushed a commit to PeterJohnson/WPILibPi that referenced this pull request Nov 7, 2020
…Pi-Distro#384)

* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
PeterJohnson pushed a commit to wpilibsuite/WPILibPi that referenced this pull request Nov 7, 2020
…Pi-Distro#384)

* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
alexgg pushed a commit to balena-os/pi-gen that referenced this pull request Jul 12, 2021
…Pi-Distro#384)

* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
SRaus pushed a commit to analogdevicesinc/adi-kuiper-gen that referenced this pull request Feb 28, 2022
…Pi-Distro#384)

* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
SRaus pushed a commit to analogdevicesinc/adi-kuiper-gen that referenced this pull request Mar 1, 2022
…Pi-Distro#384)

* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
scuciurean pushed a commit to analogdevicesinc/adi-kuiper-gen that referenced this pull request Mar 23, 2022
…Pi-Distro#384)

* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem

(cherry picked from commit 65f91b8)
UmeshMohan-Dozee pushed a commit to DozeeRnD/pi-gen that referenced this pull request Sep 18, 2024
…Pi-Distro#384)

* BusyBox realpath does not support -s flag, fallback to use no flags

* Fix config sourcing problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants