Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
786383d1
Commit
786383d1
authored
Mar 31, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play k3s: small fixes
parent
b5a42e70
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
k3s.sh
pack.d/k3s.sh
+1
-1
k3s.sh
play.d/k3s.sh
+1
-1
k3s.sh
repack.d/k3s.sh
+2
-0
No files found.
pack.d/k3s.sh
View file @
786383d1
...
...
@@ -10,7 +10,7 @@ PKGNAME=$PRODUCT-$VERSION
install
-D
$TAR
usr/bin/
$PRODUCT
||
fatal
for
i
in
kubectl crictl ctr k3s
;
do
ln
-s
$PRODUCT
usr/bin/
$i
ln
-s
f
$PRODUCT
usr/bin/
$i
done
erc pack
$PKGNAME
.tar usr/bin
...
...
play.d/k3s.sh
View file @
786383d1
...
...
@@ -32,5 +32,5 @@ else
PKGURL
=
"https://github.com/k3s-io/k3s/releases/download/v
$VERSION
+k3s1/
$file
"
fi
VERSION
=
"
$(
echo
"
$PKGURL
"
|
sed
-e
's|.*download/v||'
-e
's|%2Bk3s1.*||'
-e
's|-.*||'
)
"
VERSION
=
"
$(
echo
"
$PKGURL
"
|
sed
-e
's|.*download/v||'
-e
's|%2Bk3s1.*||'
-e
's|
+k3s1.*||'
-e
's|
-.*||'
)
"
epm pack
--install
$PKGNAME
"
$PKGURL
"
$VERSION
repack.d/k3s.sh
View file @
786383d1
...
...
@@ -12,6 +12,8 @@ subst "s|^URL:.*|URL: https://k3s.io|" $SPEC
subst
"s|^Summary:.*|Summary: K3s - Lightweight Kubernetes|"
$SPEC
subst
'1iConflicts: kubernetes-client'
$SPEC
# /usr/bin/ctr
subst
'1iConflicts: containerd'
$SPEC
# Check https://get.k3s.io/
...
...
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