Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MbetterLiveCD
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mbetter
MbetterLiveCD
Commits
e36ee822
Commit
e36ee822
authored
Sep 13, 2025
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wsssh-tools hook to copy from build directory
parent
1a4f8879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
9970-install-wsssh-tools.hook.chroot
config/hooks/live/9970-install-wsssh-tools.hook.chroot
+15
-7
No files found.
config/hooks/live/9970-install-wsssh-tools.hook.chroot
View file @
e36ee822
...
@@ -5,15 +5,22 @@ set -e
...
@@ -5,15 +5,22 @@ set -e
echo
"Installing wsssh-tools .deb package..."
echo
"Installing wsssh-tools .deb package..."
# wsssh-tools .deb package is available in /var/cache from config/includes.chroot/var/cache/
# Copy wsssh-tools .deb package from the build directory
WSSSH_DEB
=
"/var/cache/wsssh-tools_1.0.0-1_amd64.deb"
BUILD_DEB
=
"../../../wsssh-tools_1.0.0-1_amd64.deb"
TARGET_DEB
=
"/tmp/wsssh-tools_1.0.0-1_amd64.deb"
echo
"Checking wsssh-tools at
$WSSSH_DEB
..."
if
[
!
-f
"
$WSSSH_DEB
"
]
;
then
echo
"Copying wsssh-tools from build directory..."
echo
"Error: wsssh-tools .deb package not found at
$WSSSH_DEB
"
if
[
-f
"
$BUILD_DEB
"
]
;
then
cp
"
$BUILD_DEB
"
"
$TARGET_DEB
"
echo
"Successfully copied wsssh-tools to
$TARGET_DEB
"
else
echo
"Error: wsssh-tools .deb package not found at
$BUILD_DEB
"
echo
"Current directory:
$(
pwd
)
"
exit
1
exit
1
fi
fi
WSSSH_DEB
=
"
$TARGET_DEB
"
# Install dependencies first
# Install dependencies first
echo
"Installing dependencies for wsssh-tools..."
echo
"Installing dependencies for wsssh-tools..."
apt-get update
apt-get update
...
@@ -23,6 +30,7 @@ apt-get install -y libc6 libssl3t64 openssl
...
@@ -23,6 +30,7 @@ apt-get install -y libc6 libssl3t64 openssl
echo
"Installing wsssh-tools .deb package..."
echo
"Installing wsssh-tools .deb package..."
dpkg
-i
"
$WSSSH_DEB
"
dpkg
-i
"
$WSSSH_DEB
"
# Clean up (don't remove since it's from includes.chroot)
# Clean up
rm
-f
"
$TARGET_DEB
"
echo
"wsssh-tools installation completed successfully"
echo
"wsssh-tools installation completed successfully"
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment