Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#301
by brokenman » 02 Oct 2014, 02:27
I have the impression that this would exactly do the job.
@Francois
Added option in GUI to install packages instead of opening target folder.
Found "Choose an number to confirm." somewhat confusing. Looked like it was going to enter a download phase.
@ Bogomips
Sorry, I disagree. If you are requesting info (-i) why would one think it is entering a download phase? The label here is a generic CLI menu so it is the same label for whatever calls it. Changing it for one (-i) could make it confusing for another (-g) so I will stick with the generic label for now.
It might be wise to delete the dependency files after the module is created.
@Ed_P
This is not viable in the case where one wants to manage packages. Deleting the slackware package means it will need to be redownloaded next time it is required as a dependency. I think leaving deletion of files to the user is the best idea.
Thanks for the suggestions.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#302
by Ed_P » 02 Oct 2014, 04:03
brokenman wrote:It might be wise to delete the dependency files after the module is created.
@Ed_P
This is not viable in the case where one wants to manage packages. Deleting the slackware package means it will need to be redownloaded next time it is required as a dependency.
I don't understand. If a package is added to a module why would it need to be added to a different module? If it's active in one isn't it available to other modules? And once the module is created when the system is rebooted these /tmp/usm packages are all deleted.
Ed
Ed_P
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#303
by brokenman » 02 Oct 2014, 10:13
If a package is added to a module why would it need to be added to a different module?
Yes, but this assumes one is moving the package to the modules folder and actually WANTS them activated at every boot. Some people may prefer to activate on demand and in this case may even prefer bundles.
And once the module is created when the system is rebooted these /tmp/usm packages are all deleted.
Assuming one does not use changes.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#304
by Ed_P » 02 Oct 2014, 14:11
brokenman wrote:And once the module is created when the system is rebooted these /tmp/usm packages are all deleted.
Assuming one does not use changes.
changes=EXIT does not save the /tmp/ directory.
Ed
Ed_P
-
fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
-
Contact:
Post#305
by fanthom » 02 Oct 2014, 14:32
/tmp folder should be used for storing of temporary files.
if USM files supposed to be persistent then i would consider placing them in /usr/share/usm or even /opt/usm.
Please add [Solved] to your thread title if the solution was found.
fanthom
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#306
by Ed_P » 02 Oct 2014, 15:46
Ideally, if a user selects the USM option to have the downloaded packages made into a module the module could be placed in the user's extramod directory, either by default or as an option. That would eliminate the user having to find it amongst all the dependencies.
Ed
Ed_P
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#307
by brokenman » 02 Oct 2014, 16:01
the module could be placed in the user's extramod directory, either by default or as an option.
USM has no way of knowing the location of your extramods directory. It could be anywhere. User can just as easily use extramod= to point to their USM storage.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#308
by Ed_P » 02 Oct 2014, 16:10
gee, the "cat /proc/cmdline" command in RazorQT shows me the directory where my extramods option is pointing to. Don't know if would work in other DEs.
Ed
Ed_P
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#309
by brokenman » 02 Oct 2014, 17:22
gee, the "cat /proc/cmdline" command in RazorQT shows me the directory where my extramods option is pointing to.
That's nice for you. You added the cheat code. Mine doesn't show me any extramods folder. I have to think 'in general' where 95% of users don't use this cheat, and the folder where they like to store extra stuff may be unknown. One folder is known ... $STORAGE. It can act like an extramod folder and you can more easily point your cheat code there than I can add code for all situations. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#310
by Ed_P » 02 Oct 2014, 21:49
brokenman wrote:I have to think 'in general' where 95% of users don't use this cheat, and the folder where they like to store extra stuff may be unknown.
You're probably right. Better to use
fanthom's suggestion and put the downloaded packages and modules in /usr/share/usm or even /opt/usm. Then a user's storage options doesn't matter and coding should be simpler.
Ed
Ed_P
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#311
by brokenman » 03 Oct 2014, 02:22
What about $HOME/usm ??
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Post#312
by Slaxmax » 05 Oct 2014, 05:37
database was updated, but yet show message to update.
Code: Select all
root@porteus:/home/guest# usm -v
You are using USM version: 3.1.6
root@porteus:/home/guest# usm -u all
alien was updated 776 seconds ago. Skipping.
salix was updated 48 seconds ago. Skipping.
slacky was updated 742 seconds ago. Skipping.
ponce was updated 723 seconds ago. Skipping.
slackware was updated 314 seconds ago. Skipping.
slackwarepatches was updated 234 seconds ago. Skipping.
sbo was updated 54 seconds ago. Skipping.
extra-deps.txt was updated 48 seconds ago. Skipping.
ignore-deps.txt was updated 48 seconds ago. Skipping.
You can change the time limit for skipping in: /etc/usm/usm.conf
The default is 3 hours
root@porteus:/home/guest# usm -g gnutls
The following items were found.
Choose an number to confirm.
ctrl+c to quit
1) gnutls-3.1.16-i486-1.txz
2) gnutls-3.1.25-i486-1_slack14.1.txz
#? 2
Processing: gnutls-3.1.25-i486-1_slack14.1.txz
Ignored libraries:
Libraries required: 15
Libraries found in system: 14
Libraries to resolve: 1
Processing library: libgnutls.so.28
The following packages are required.
gnutls-3.1.25-i486-1_slack14.1.txz [1984K]
Total size: 1 MB
Press [r] to remove packages, [q] to quit, or enter to start downloading.
Updates are available.
Program update: not required
Database update: available
Please run: usm -u all and/or usm -u usm
This message can be disabled in /etc/usm/usm.conf
###############################
gnutls-3.1.25-i486-1_slack14.1.txz already exists
root@porteus:/home/guest#
and gnutls downloaded 0B
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
Slaxmax
-
Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Post#313
by Slaxmax » 06 Oct 2014, 18:33
@Brokenman
An interesting option would automatically choose the dependencies without warnings.
For example always choose the smaller package.
And in the end show the option to choose the package you want to download, or remove some.
thx
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
Slaxmax
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#314
by brokenman » 18 Oct 2014, 01:25
Thanks Slaxmax. I will take a look at this option. Progress was frozen until the release of Porteus v3.1rc1 which will be available very soon (probably tomorrow).
I have just now updated USM to v3.1.7 but you may want to wait for the new Porteus version instead.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman
-
brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Post#315
by brokenman » 20 Oct 2014, 23:52
Updated USM database.
How do i become super user?
Wear your underpants on the outside and put on a cape.
brokenman