Re: Fine tuning of usm for newcomers: your suggestions
Posted: 01 Jul 2015, 21:15
As it stands at the moment USM is configured with MODULES=false in /etc/usm/usm.conf. As a result if a package has no dependencies there is no option to produce a module within USM's epilog. However with MODULES=true one gets a whole load of dependencies made into modules, upon choosing download into a subfolder. This is a waste of time if one just requires the packages, which is much more likely than wishing to have each of dependency packages transformed into a module. As well, activation of a whole lot of small modules could lead to inter-dependency problems hindering deactivation.
Code: Select all
root@porteus:/home/guest# grep MOD /etc/usm/usm.conf
MODULES=true
root@porteus:/home/guest# usm -g openjre
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) openjre-7u51_b31-i486-2gv.txz 3) openjre-7u79_b14-i486-2sl.txz
2) openjre-7u79_b14-i486-2alien.txz
#? 3
Processing: openjre-7u79_b14-i486-2sl.txz
...
The following packages are required.
aaa_elflibs-14.1-i486-3.txz [4708K] [installed]
openjre-7u79_b14-i486-2sl.txz [40023K] [not installed]
openssl-solibs-1.0.1e-i486-1.txz [1208K] [not installed]
rhino-1_7R4-i486-3sl.txz [1351K] [not installed]
Total size: 47 MB
Multiple packages were detected.
Would you like to merge the packages into one module? [y/n]
Would you like to create a subfolder for the files? [y/n] # Subfolder Chosen
Would you like to install the package/s? (custom paths are supported) [y/n]
Press [r] to remove packages, [q] to quit, or enter to start downloading.
Downloading: aaa_elflibs-14.1-i486-3.txz DONE
Downloading: openjre-7u79_b14-i486-2sl.txz DONE
Downloading: openssl-solibs-1.0.1e-i486-1.txz DONE
Downloading: rhino-1_7R4-i486-3sl.txz DONE
Commencing package conversion ...
Verifying package aaa_elflibs-14.1-i486-3.txz.
Installing package aaa_elflibs-14.1-i486-3.txz:
PACKAGE DESCRIPTION:
# aaa_elflibs (shared libraries needed by many programs)
...
Creating /tmp/usm/openjre-7u79_b14/aaa_elflibs-14.1-i486-3.xzm
Verifying package openjre-7u79_b14-i486-2sl.txz.
Installing package openjre-7u79_b14-i486-2sl.txz:
PACKAGE DESCRIPTION:
# Java(TM) 2 Platform Standard Runtime.
...
Creating /tmp/usm/openjre-7u79_b14/openjre-7u79_b14-i486-2sl.xzm
Verifying package openssl-solibs-1.0.1e-i486-1.txz.
Installing package openssl-solibs-1.0.1e-i486-1.txz:
PACKAGE DESCRIPTION:
# openssl-solibs (OpenSSL shared libraries)
...
Creating /tmp/usm/openjre-7u79_b14/openssl-solibs-1.0.1e-i486-1.xzm
Verifying package rhino-1_7R4-i486-3sl.txz.
Installing package rhino-1_7R4-i486-3sl.txz:
PACKAGE DESCRIPTION:
# rhino (javascript library for java)
...
Creating /tmp/usm/openjre-7u79_b14/rhino-1_7R4-i486-3sl.xzm
root@porteus:/home/guest# ls -sh /tmp/usm/openjre-7u79_b14/
total 94M
4.7M aaa_elflibs-14.1-i486-3.txz 1.2M openssl-solibs-1.0.1e-i486-1.txz
5.0M aaa_elflibs-14.1-i486-3.xzm 1.5M openssl-solibs-1.0.1e-i486-1.xzm
40M openjre-7u79_b14-i486-2sl.txz 1.4M rhino-1_7R4-i486-3sl.txz
40M openjre-7u79_b14-i486-2sl.xzm 1.6M rhino-1_7R4-i486-3sl.xzm