Skip to content

Commit 8609383

Browse files
committed
Update squashfuse to latest release
1 parent f06d0b6 commit 8609383

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/common/install-dependencies.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ popd
3333
# Minimize binary size
3434
export CFLAGS="-ffunction-sections -fdata-sections -Os"
3535

36-
wget "https://github.com/vasi/squashfuse/archive/e51978c.tar.gz"
37-
echo "f544029ad30d8fbde4e4540c574b8cdc6d38b94df025a98d8551a9441f07d341 e51978c.tar.gz" | sha256sum -c -
38-
tar xf e51978c.tar.gz
36+
wget "https://github.com/vasi/squashfuse/archive/0.5.2.tar.gz"
37+
echo "db0238c5981dabbd80ee09ae15387f390091668ca060a7bc38047912491443d3 0.5.2.tar.gz" | sha256sum -c -
38+
tar xf 0.5.2.tar.gz
3939
pushd squashfuse-*/
4040
./autogen.sh
4141
./configure CFLAGS="${CFLAGS} -no-pie" LDFLAGS=-static

src/runtime/runtime.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ int fusefs_main(int argc, char* argv[], void (* mounted)(void)) {
10321032
opts.offset = 0;
10331033
opts.idle_timeout_secs = 0;
10341034
if (fuse_opt_parse(&args, &opts, fuse_opts, sqfs_opt_proc) == -1)
1035-
sqfs_usage(argv[0], true);
1035+
sqfs_usage(argv[0], true, true);
10361036

10371037
#if FUSE_USE_VERSION >= 30
10381038
if (fuse_parse_cmdline(&args, &fuse_cmdline_opts) != 0)
@@ -1042,9 +1042,9 @@ int fusefs_main(int argc, char* argv[], void (* mounted)(void)) {
10421042
&fuse_cmdline_opts.mt,
10431043
&fuse_cmdline_opts.foreground) == -1)
10441044
#endif
1045-
sqfs_usage(argv[0], true);
1045+
sqfs_usage(argv[0], true, true);
10461046
if (fuse_cmdline_opts.mountpoint == NULL)
1047-
sqfs_usage(argv[0], true);
1047+
sqfs_usage(argv[0], true, true);
10481048

10491049
/* fuse_daemonize() will unconditionally clobber fds 0-2.
10501050
*

0 commit comments

Comments
 (0)