Bug 2233 - Atmel atstk target skeletons have /etc/mtab as a file, not a symlink
Summary: Atmel atstk target skeletons have /etc/mtab as a file, not a symlink
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2010.05
Hardware: Other Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 15:17 UTC by Nick Leverton
Modified: 2010-07-18 20:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Leverton 2010-07-16 15:17:14 UTC
/etc/mtab in the target skeleton is supposed to be a symlink to ../proc/mounts, and most device skeletons have it as such.

However, unless there's something strange with my git installation, the two Atmel atstk100* skeleton filesystems have /etc/mtab as a regular file containing the text ../proc/mounts .   The files in error are:

target/device/Atmel/atstk1005/target_skeleton/etc/mtab target/device/Atmel/atstk100x/target_skeleton/etc/mtab

Atmel atngw100 is correct in having a symlink.

Fairly trivial, but things which check for mounted filesystems will fail (oprofile was what I fell over this with on an atstk1006).  I can't supply a patch as I don't know how to make git cope with the change in filetype - it seems convinced that I have removed the files :-(
Comment 1 Peter Korsgaard 2010-07-18 20:23:05 UTC
Committed, thanks