Git Product home page Git Product logo

Comments (6)

bkauler avatar bkauler commented on August 16, 2024

I found that it still fails if the symlink already exists, so it should be this:

$(LN_S) -n -f $(DESTDIR)$(bindir)/udevadm $(DESTDIR)$(sbindir)/udevadm; \

from eudev.

blueness avatar blueness commented on August 16, 2024

-r means relative to the current location. I agree that its not needed now because $(DESTDIR) should be a full path name, but I'm confused why you got that there is no such option.

The -n and -f are sane. Before I commit this, I'd like to make sure nothing funny is going on with -r. How did you hit the error that there is no such -r option for ln?

from eudev.

eroen avatar eroen commented on August 16, 2024

I believe (from #60) bkauler uses PuppyLinux, which I again believe (by default) uses BusyBox for its core tools. (Googling for puppylinux busybox coreutils reveals some ancient forum posts to that effect.)

$ busybox ln -sr a b
ln: invalid option -- 'r'
BusyBox v1.21.0 (2013-02-16 00:43:01 CET) multi-call binary.
...

BSD userlands (as brought by https://github.com/aharri/obase et. al.) don't have the -r option either.

from eudev.

bkauler avatar bkauler commented on August 16, 2024

Puppy Linux uses ln from coreutils, not busybox.

I have just checked, Ubuntu Precise Pangolin has coreutils 8.13, in which ln does NOT support -r option.
However, Ubuntu Raring (beta) has coreutils 8.20, which DOES have -r for ln.

So, -r is a recent thing. Even die.net does not show it:
http://linux.die.net/man/1/ln

from eudev.

blueness avatar blueness commented on August 16, 2024

Eroen, good call! Okay I'll commit in a minute.

from eudev.

blueness avatar blueness commented on August 16, 2024

Okay committed, thanks for the report.

from eudev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.