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
25068ce3
Commit
25068ce3
authored
Nov 16, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: add ALT Atomic support
parent
8304aa86
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
7 deletions
+15
-7
distr_info
bin/distr_info
+8
-0
epm-info
bin/epm-info
+1
-1
epm-install
bin/epm-install
+1
-1
epm-list_available
bin/epm-list_available
+1
-1
epm-remove
bin/epm-remove
+1
-1
epm-search
bin/epm-search
+1
-1
epm-update
bin/epm-update
+1
-1
epm-upgrade
bin/epm-upgrade
+1
-1
No files found.
bin/distr_info
View file @
25068ce3
...
@@ -139,6 +139,12 @@ pkgmanager()
...
@@ -139,6 +139,12 @@ pkgmanager()
{
{
local
CMD
local
CMD
case
$DISTRO_NAME
in
"ALT Atomic"
)
echo
"apm-rpm"
&&
return
;;
esac
case
$VENDOR_ID
in
case
$VENDOR_ID
in
alt
)
alt
)
echo
"apt-rpm"
&&
return
echo
"apt-rpm"
&&
return
...
@@ -1103,6 +1109,8 @@ print_eepm_env()
...
@@ -1103,6 +1109,8 @@ print_eepm_env()
cat
<<
EOF
cat
<<
EOF
# -d | --base-distro-name
# -d | --base-distro-name
DISTRNAME="
$(
echo
$DISTRIB_ID
)
"
DISTRNAME="
$(
echo
$DISTRIB_ID
)
"
# --distro-name
FULLDISTRNAME="
$(
echo
"
$DISTRO_NAME
"
)
"
# -v | --base-version
# -v | --base-version
DISTRVERSION="
$(
echo
"
$DISTRIB_RELEASE
"
)
"
DISTRVERSION="
$(
echo
"
$DISTRIB_RELEASE
"
)
"
# distro dependent arch
# distro dependent arch
...
...
bin/epm-info
View file @
25068ce3
...
@@ -56,7 +56,7 @@ case $PMTYPE in
...
@@ -56,7 +56,7 @@ case $PMTYPE in
is_installed
$pkg_names
&&
docmd dpkg
-p
$pkg_names
&&
return
is_installed
$pkg_names
&&
docmd dpkg
-p
$pkg_names
&&
return
docmd apt-cache show
$pkg_names
docmd apt-cache show
$pkg_names
;;
;;
apm
)
apm
-rpm
)
docmd apm system info
$pkg_names
docmd apm system info
$pkg_names
;;
;;
aptitude-dpkg
)
aptitude-dpkg
)
...
...
bin/epm-install
View file @
25068ce3
...
@@ -149,7 +149,7 @@ epm_install_names()
...
@@ -149,7 +149,7 @@ epm_install_names()
echo
"
$*
"
|
grep
-q
"^kernel-"
&&
VIRTAPTOPTIONS
=
''
echo
"
$*
"
|
grep
-q
"^kernel-"
&&
VIRTAPTOPTIONS
=
''
sudocmd apt-get
$VIRTAPTOPTIONS
$APTOPTIONS
$noremove
install
$@
&&
save_installed_packages
$@
sudocmd apt-get
$VIRTAPTOPTIONS
$APTOPTIONS
$noremove
install
$@
&&
save_installed_packages
$@
return
;;
return
;;
apm
)
apm
-rpm
)
sudocmd apm system
install
$@
sudocmd apm system
install
$@
return
;;
return
;;
aptitude-dpkg
)
aptitude-dpkg
)
...
...
bin/epm-list_available
View file @
25068ce3
...
@@ -72,7 +72,7 @@ case $PMTYPE in
...
@@ -72,7 +72,7 @@ case $PMTYPE in
docmd apt-cache search
.
docmd apt-cache search
.
fi
fi
;;
;;
apm
)
apm
-rpm
)
# TODO: --format json?
# TODO: --format json?
CMD
=
"apm system list --limit 100000"
CMD
=
"apm system list --limit 100000"
;;
;;
...
...
bin/epm-remove
View file @
25068ce3
...
@@ -99,7 +99,7 @@ epm_remove_names()
...
@@ -99,7 +99,7 @@ epm_remove_names()
apt-dpkg
)
apt-dpkg
)
sudocmd apt-get remove
--purge
$APTOPTIONS
$@
sudocmd apt-get remove
--purge
$APTOPTIONS
$@
return
;;
return
;;
apm
)
apm
-rpm
)
sudocmd apm system remove
$@
sudocmd apm system remove
$@
return
;;
return
;;
aptitude-dpkg
)
aptitude-dpkg
)
...
...
bin/epm-search
View file @
25068ce3
...
@@ -28,7 +28,7 @@ case $PMTYPE in
...
@@ -28,7 +28,7 @@ case $PMTYPE in
apt-rpm|apt-dpkg
)
apt-rpm|apt-dpkg
)
CMD
=
"apt-cache search --"
CMD
=
"apt-cache search --"
;;
;;
apm
)
apm
-rpm
)
docmd apm system search
--
$string
docmd apm system search
--
$string
return
return
;;
;;
...
...
bin/epm-update
View file @
25068ce3
...
@@ -121,7 +121,7 @@ case $PMTYPE in
...
@@ -121,7 +121,7 @@ case $PMTYPE in
# apt-get update retrieve Contents file too
# apt-get update retrieve Contents file too
#sudocmd apt-file update
#sudocmd apt-file update
;;
;;
apm
)
apm
-rpm
)
sudocmd apm system update
sudocmd apm system update
;;
;;
packagekit
)
packagekit
)
...
...
bin/epm-upgrade
View file @
25068ce3
...
@@ -141,7 +141,7 @@ epm_upgrade()
...
@@ -141,7 +141,7 @@ epm_upgrade()
local
APTOPTIONS
=
"
$dryrun
$(
subst_option non_interactive
-y
)
$(
subst_option debug
"-V -o Debug::pkgMarkInstall=1 -o Debug::pkgProblemResolver=1"
)
"
local
APTOPTIONS
=
"
$dryrun
$(
subst_option non_interactive
-y
)
$(
subst_option debug
"-V -o Debug::pkgMarkInstall=1 -o Debug::pkgProblemResolver=1"
)
"
CMD
=
"apt-get
$APTOPTIONS
$noremove
$force_yes
dist-upgrade"
CMD
=
"apt-get
$APTOPTIONS
$noremove
$force_yes
dist-upgrade"
;;
;;
apm
)
apm
-rpm
)
CMD
=
"apm system upgrade"
CMD
=
"apm system upgrade"
;;
;;
aptitude-dpkg
)
aptitude-dpkg
)
...
...
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