Skip to content
  • Thomas Petazzoni's avatar
    jffs2: let makedevs create device files · 3754c515
    Thomas Petazzoni authored
    
    
    The common filesystem infrastructure in fs/common.mk uses a smart
    combination of makedevs and fakeroot to create the device files in the
    target filesystem images without being root. This technique is applied
    to all filesystem formats that rely on this common infrastructure, and
    JFFS2 is one of them.
    
    Therefore, using the -D option of mkfs.jffs2, which allows to specify
    a device table, is redundant with the usage of makedevs. And it is
    worst than redundant: for some reason, -D does not create all device
    files with the correct major and minor numbers, as reported in
    bug #1771.
    
    For coherence, we just remove the usage of mkfs.jffs2 -D option, and
    rely on makedevs/fakeroot to create the device files.
    
    This commit fixes bug #1771.
    
    Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
    3754c515
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading