diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2017-05-07 10:17:26 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-05-09 17:29:03 +0200 |
commit | 5b756c334beb2ebd5295f7b07d2a86b045e6afcd (patch) | |
tree | 5b9e317e89d3be61312502d3c0defbf014cba0e7 /scripts | |
parent | d671ce326a67a0548dc629002c7a5257f4ce4ebb (diff) | |
download | ptxdist-5b756c334beb2ebd5295f7b07d2a86b045e6afcd.tar.gz ptxdist-5b756c334beb2ebd5295f7b07d2a86b045e6afcd.tar.xz |
dosfstools: version bump: 3.0.28 -> 4.1
Some file names have changed, adapt to new names. The labels are adapted
as well, so add migration helpers.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
[mol: create legacy linsk with configure options for host-dosfstools]
[mol: fix migrate patterns]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/migrate/migrate_ptx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/migrate/migrate_ptx b/scripts/migrate/migrate_ptx index 8f52662cf..d684137aa 100755 --- a/scripts/migrate/migrate_ptx +++ b/scripts/migrate/migrate_ptx @@ -272,3 +272,21 @@ s/^\(\(# \)\?PTXCONF_\)PYTHON_DJANGO/\1PYTHON3_DJANGO/ s/^\(\(# \)\?PTXCONF_\)UDEV_\(DEBUG\|SYSLOG\|ETC_CONF\|KEYMAPS\|STARTSCRIPT\|ACCELEROMETER\)\>/\1UDEV_LEGACY_\3/ s/^\(\(# \)\?PTXCONF_\)UDEV_\(DRIVERS_RULES\|CUST_RULES\|PERSISTENT_.*\|COLLECT\|MTD_PROBE\)\>\(.*\)$/\1UDEV_LEGACY_\3\4\n\1SYSTEMD_UDEV_\3\4/ s/^\(\(# \)\?PTXCONF_\)UDEV_\(HWDB\)\>/\1SYSTEMD_UDEV_\3/ + +# +# from : ptxdist-2017.04.0 +# to : ptxdist-2017.05.0 +# symbol : DOSFSTOOLS_MKDOSFS_MSDOS -> DOSFSTOOLS_MKFS_FAT_MSDOS +# symbol : DOSFSTOOLS_MKDOSFS_VFAT -> DOSFSTOOLS_MKFS_FAT_VFAT +# symbol : DOSFSTOOLS_MKDOSFS -> DOSFSTOOLS_MKFS_FAT +# symbol : DOSFSTOOLS_DOSFSCK -> DOSFSTOOLS_FSCK_FAT +# symbol : DOSFSTOOLS_DOSFSLABEL -> DOSFSTOOLS_FATLABEL +# reason : new file names in dosfsutils 4.1 +# +s/^\(\(# \)\?PTXCONF_\)DOSFSTOOLS_MKDOSFS_MSDOS/\1DOSFSTOOLS_MKFS_FAT_MSDOS/ +s/^\(\(# \)\?PTXCONF_\)DOSFSTOOLS_MKDOSFS_VFAT$/\1DOSFSTOOLS_MKFS_FAT_VFAT/ +s/^\(\(# \)\?PTXCONF_\)DOSFSTOOLS_MKDOSFS/\1DOSFSTOOLS_MKFS_FAT/ +s/^\(\(# \)\?PTXCONF_\)DOSFSTOOLS_DOSFSCK_MSDOS/\1DOSFSTOOLS_FSCK_FAT_MSDOS/ +s/^\(\(# \)\?PTXCONF_\)DOSFSTOOLS_DOSFSCK_VFAT/\1DOSFSTOOLS_FSCK_FAT_VFAT/ +s/^\(\(# \)\?PTXCONF_\)DOSFSTOOLS_DOSFSCK/\1DOSFSTOOLS_FSCK_FAT/ +s/^\(\(# \)\?PTXCONF_\)DOSFSTOOLS_DOSFSLABEL/\1DOSFSTOOLS_FATLABEL/ |