aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/gensquashfs/src/sort_by_file.c3
-rw-r--r--bin/gensquashfs/test/sort_file.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/bin/gensquashfs/src/sort_by_file.c b/bin/gensquashfs/src/sort_by_file.c
index a555718..bc89c39 100644
--- a/bin/gensquashfs/src/sort_by_file.c
+++ b/bin/gensquashfs/src/sort_by_file.c
@@ -159,9 +159,6 @@ static int decode_flags(const char *filename, size_t line_no, bool *do_glob,
} else if (strncmp(line, "dont_fragment", 13) == 0) {
line += 13;
(*flags) |= SQFS_BLK_DONT_FRAGMENT;
- } else if (strncmp(line, "align", 5) == 0) {
- line += 5;
- (*flags) |= SQFS_BLK_ALIGN;
} else if (strncmp(line, "dont_compress", 13) == 0) {
line += 13;
(*flags) |= SQFS_BLK_DONT_COMPRESS;
diff --git a/bin/gensquashfs/test/sort_file.c b/bin/gensquashfs/test/sort_file.c
index 951328e..6c6cce6 100644
--- a/bin/gensquashfs/test/sort_file.c
+++ b/bin/gensquashfs/test/sort_file.c
@@ -42,7 +42,7 @@ static const char *sort_file =
" 50 [glob] /bin/*\n"
"\n"
"# Make this file appear first\n"
-" -10000 [dont_compress,dont_fragment,align] /usr/share/bla.txt";
+" -10000 [dont_compress,dont_fragment] /usr/share/bla.txt";
static const char *initial_order[] = {
"bin/chmod",
@@ -93,7 +93,7 @@ static sqfs_s64 priorities[] = {
};
static int flags[] = {
- SQFS_BLK_DONT_COMPRESS | SQFS_BLK_ALIGN | SQFS_BLK_DONT_FRAGMENT,
+ SQFS_BLK_DONT_COMPRESS | SQFS_BLK_DONT_FRAGMENT,
0,
0,
0,