mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
fs/ext2: remove ext2 revision 0 support
Revision 0 is very old and misses a number of features. From man mkfs.ext2: Set the file system revision for the new file system. Note that 1.2 kernels only support revision 0 file systems. The default is to create revision 1 file systems. We are unlikely to have a lot of Linux 1.2.x users, so drop support for it. As revision 1 is the default, drop the -E revision argument to mkfs.ext2 for simplicity. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
a92b74c20c
commit
ba38576aa6
@@ -38,26 +38,6 @@ def boot_img_and_check_fs_type(emulator, builddir, fs_type):
|
||||
|
||||
|
||||
class TestExt2(infra.basetest.BRTest):
|
||||
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
|
||||
"""
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_2r0=y
|
||||
BR2_TARGET_ROOTFS_EXT2_LABEL="foobaz"
|
||||
BR2_TARGET_ROOTFS_EXT2_SIZE="16384"
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
out = dumpe2fs_run(self.builddir, "rootfs.ext2")
|
||||
self.assertEqual(dumpe2fs_getprop(out, VOLNAME_PROP), "foobaz")
|
||||
self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "0 (original)")
|
||||
|
||||
exit_code = boot_img_and_check_fs_type(self.emulator,
|
||||
self.builddir, "ext2")
|
||||
self.assertEqual(exit_code, 0)
|
||||
|
||||
|
||||
class TestExt2r1(infra.basetest.BRTest):
|
||||
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
|
||||
"""
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
|
||||
Reference in New Issue
Block a user