Skip to content
Snippets Groups Projects
  • Felix Fietkau's avatar
    ff17114b
    ar71xx: Unifi AP Pro sysupgrade patch · ff17114b
    Felix Fietkau authored
    
    The current implementation of mtd will not append the backup
    file created by sysupgrade to the correct partition, as mtd will append
    the data to first jffs2 partition it finds. As the kernel is also
    stored on a jffs2 partition (which resides before the overlay
    partition), the data will be appended to this partition.
    
    To fix this problem, a new option
    
    -s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"
    
    is added to mtd.
    
    Signed-off-by: default avatarPeter Wagner <tripolar@gmx.at>
    
    SVN-Revision: 38807
    ff17114b
    History
    ar71xx: Unifi AP Pro sysupgrade patch
    Felix Fietkau authored
    
    The current implementation of mtd will not append the backup
    file created by sysupgrade to the correct partition, as mtd will append
    the data to first jffs2 partition it finds. As the kernel is also
    stored on a jffs2 partition (which resides before the overlay
    partition), the data will be appended to this partition.
    
    To fix this problem, a new option
    
    -s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"
    
    is added to mtd.
    
    Signed-off-by: default avatarPeter Wagner <tripolar@gmx.at>
    
    SVN-Revision: 38807