Skip to content

Commit 126fa4b

Browse files
committed
rollback to unionfs
1 parent bedeb36 commit 126fa4b

File tree

6 files changed

+26
-7
lines changed

6 files changed

+26
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
mv SourceHanSans.ttc appimage-myapp-appdir-template/opt/myapp/myapp_fonts/sourrcehansans.ttc
4747
./appimage-myapp-appdir-template/.remove-appdir-git.sh
4848
49-
cp "$(command -v fuse-overlayfs)" appimage-myapp-appdir-template/usr/bin/
49+
cp "$(command -v unionfs)" appimage-myapp-appdir-template/usr/bin/
5050
ARCH=x86_64 ./appimagetool.AppImage appimage-myapp-appdir-template
5151
5252
#ARCH=aarch64 ./appimagetool.AppImage appimage-myapp-appdir-template

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
mv SourceHanSans.ttc appimage-myapp-appdir-template/opt/myapp/myapp_fonts/sourrcehansans.ttc
4747
./appimage-myapp-appdir-template/.remove-appdir-git.sh
4848
49-
cp "$(command -v fuse-overlayfs)" appimage-myapp-appdir-template/usr/bin/
49+
cp "$(command -v unionfs)" appimage-myapp-appdir-template/usr/bin/
5050
ARCH=x86_64 ./appimagetool.AppImage appimage-myapp-appdir-template
5151
5252
#ARCH=aarch64 ./appimagetool.AppImage appimage-myapp-appdir-template

opt/myapp/myapp_script/main.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ prevent_root
7171

7272
debug_set
7373

74-
# TODO: cannot use new unionfs because same commandline options was changed.
75-
# WALKAROUND: ship old version unionfs in appimage package.
76-
#UNIONFS_BIN="${APPDIR}/usr/bin/unionfs"
77-
UNIONFS_BIN="${APPDIR}/usr/bin/fuse-overlayfs"
74+
mpPlugin_fusetool_setBin
7875
debug_print_env UNIONFS_BIN >&3 2>&4
7976

8077

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
myapp-plugin-overlayfs-fuse.sh
1+
myapp-plugin-unionfs-fuse.sh

opt/myapp/myapp_script/myapp-plugin-overlayfs-fuse.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ fi
1515
source ./myapp-debug.sh 2>/dev/null
1616
##############################################
1717

18+
#############################################
19+
## Set fuse bin.
20+
# Export env:
21+
# $UNIONFS_BIN
22+
function mpPlugin_fusetool_setBin(){
23+
# TODO: cannot use new unionfs because same commandline options was changed.
24+
# WALKAROUND: ship old version unionfs in appimage package.
25+
UNIONFS_BIN="${APPDIR}/usr/bin/fuse-overlayfs"
26+
}
27+
#############################################
28+
1829

1930
#############################################
2031
## Prepare fuse mount point env variables.

opt/myapp/myapp_script/myapp-plugin-unionfs-fuse.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ fi
1515
source ./myapp-debug.sh 2>/dev/null
1616
##############################################
1717

18+
#############################################
19+
## Set fuse bin.
20+
# Export env:
21+
# $UNIONFS_BIN
22+
function mpPlugin_fusetool_setBin(){
23+
# TODO: cannot use new unionfs because same commandline options was changed.
24+
# WALKAROUND: ship old version unionfs in appimage package.
25+
UNIONFS_BIN="${APPDIR}/usr/bin/unionfs"
26+
}
27+
#############################################
28+
1829

1930
#############################################
2031
## Prepare fuse mount point env variables.

0 commit comments

Comments
 (0)