Skip to content

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

Merged
XECDesign merged 2 commits intoRPi-Distro:masterfrom
timvisee:master
Feb 20, 2020
Merged

BusyBox realpath does not support -s flag, fallback to use no flags#384
XECDesign merged 2 commits intoRPi-Distro:masterfrom
timvisee:master

Conversation

@timvisee
Copy link
Copy Markdown
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
Copy Markdown
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 referenced this pull request in analogdevicesinc/kuiper Feb 28, 2022
…#384)

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

* Fix config sourcing problem
scuciurean referenced this pull request in analogdevicesinc/kuiper Mar 23, 2022
…#384)

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

* Fix config sourcing problem

(cherry picked from commit 65f91b8)
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