NetBSD / pkgsrc

Automatic conversion of the NetBSD pkgsrc CVS module, use with care
https://www.pkgsrc.org
307 stars 163 forks source link

An OpenWRT derivative misses some programs #137

Closed sskras closed 5 months ago

sskras commented 5 months ago

This is the first steps from #130. Initially I get this:

# rm -rf work; bootstrap/bootstrap
===> bootstrap command: bootstrap/bootstrap
===> bootstrap started: Fri Apr 19 08:05:54 UTC 2024
groups not found in path.

After faking the groups, I further get this:

# rm -rf work; bootstrap/bootstrap
===> bootstrap command: bootstrap/bootstrap
===> bootstrap started: Fri Apr 19 08:11:20 UTC 2024
whoami not found in path.
sskras commented 5 months ago

I made a patch: https://github.com/sskras/pkgsrc/commit/ec2c6d00d888cf190e2233b5af5cdbc4a514dd4f

@jperkin suggested to switch from hardcoding distro names to testing OS-specific features:

11:39 AM \ sskras: it's completely not your fault, but the amount of hardcoding of OS-specific things in the Linux bootstrap code really frustrates me. if you fancy a bit of extra work it'd be awesome for it to be cleaned up to properly test features instead

sskras commented 5 months ago

The revised patch: https://github.com/sskras/pkgsrc/commit/86fddba

sskras commented 5 months ago

Fixed 5 days ago with https://github.com/NetBSD/pkgsrc/commit/7dc7352b90ace3d259b93ddb3c15b1eaafa48f57.