Skip to contentSkip to conversation

task-proper-tools fixing

RFC Marcin Juszkiewicz 2 participants 3 messages May 19, 2009 – Jun 1, 2009

lore
Share & tools
lore
#0 lore raw

During work on 'task-proper-tools' I found a problem.

This task tries to replace busybox applets with full versions of applications. I am adding new entries to this recipe to get better coverage and found some commands which are placed in different places.

command   | busybox | command   | Debian    | package
----------|---------|-----------|-----------|-------------
chattr    | /bin/   | /usr/bin/ | /usr/bin/ | coreutils
df        | /bin/   | /usr/bin/ | /bin/     | coreutils
getopt    | /bin/   | /usr/bin/ | /usr/bin/ | util-linux-ng
mktemp    | /bin/   | /usr/bin/ | /bin/     | coreutils
nice      | /bin/   | /usr/bin/ | /usr/bin/ | coreutils
run-parts | /bin/   | /usr/bin/ | /bin/     | debianutils
watch     | /bin/   | /usr/bin/ | /usr/bin/ | procps

The question is: what do we do with those commands? Move all of them to /bin/ directory or move them to Debian locations?

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
#1 lore raw
Quoted 17 lines · Marcin Juszkiewicz

During work on 'task-proper-tools' I found a problem.

This task tries to replace busybox applets with full versions of applications. I am adding new entries to this recipe to get better coverage and found some commands which are placed in different places.

command   | busybox | command   | Debian    | package
----------|---------|-----------|-----------|-------------
chattr    | /bin/   | /usr/bin/ | /usr/bin/ | coreutils
df        | /bin/   | /usr/bin/ | /bin/     | coreutils
getopt    | /bin/   | /usr/bin/ | /usr/bin/ | util-linux-ng
mktemp    | /bin/   | /usr/bin/ | /bin/     | coreutils
nice      | /bin/   | /usr/bin/ | /usr/bin/ | coreutils
run-parts | /bin/   | /usr/bin/ | /bin/     | debianutils
watch     | /bin/   | /usr/bin/ | /usr/bin/ | procps
Quoted 2 lines

The question is: what do we do with those commands? Move all of them to /bin/ directory or move them to Debian locations?

I'd say we follow debian. On a related now, any suggestions on how to solve the /etc/defaults/mountall conflict?

regards,

Koen

#2 lore raw
In reply to Marcin Juszkiewicz
Quoted 17 lines · Marcin Juszkiewicz

During work on 'task-proper-tools' I found a problem.

This task tries to replace busybox applets with full versions of applications. I am adding new entries to this recipe to get better coverage and found some commands which are placed in different places.

command   | busybox | command   | Debian    | package
----------|---------|-----------|-----------|-------------
chattr    | /bin/   | /usr/bin/ | /usr/bin/ | coreutils
df        | /bin/   | /usr/bin/ | /bin/     | coreutils
getopt    | /bin/   | /usr/bin/ | /usr/bin/ | util-linux-ng
mktemp    | /bin/   | /usr/bin/ | /bin/     | coreutils
nice      | /bin/   | /usr/bin/ | /usr/bin/ | coreutils
run-parts | /bin/   | /usr/bin/ | /bin/     | debianutils
watch     | /bin/   | /usr/bin/ | /usr/bin/ | procps
Quoted 2 lines

The question is: what do we do with those commands? Move all of them to /bin/ directory or move them to Debian locations?

Any updates on this? Do_rootfs currently breaks because of this:

Collected errors:
update-alternatives: Error: cannot register alternative df to /usr/bin/df since it is already registered to /bin/df
update-alternatives: Error: cannot register alternative nice to /usr/bin/nice since it is already registered to /bin/nice
update-alternatives: Error: cannot register alternative stat to /usr/bin/stat since it is already registered to /bin/stat
update-alternatives: Error: cannot register alternative run-parts to /usr/bin/run-parts since it is already registered to /bin/run-parts

log_check: There were error messages in the logfile

regards,

Koen