Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: jls on August 14, 2015, 05:08:40 PM
-
Hi. It seems to me that if an sce has got updates the deps are checked twice. One to see if there are updates and then during the reimport. The dep list could be saved during the update check and then used during the reimport
-
It is not simply a dep list, but the /tmp/work directory which has the package names inside each file. And to keep that directory instead of recreating it on the import we would have to remove the -a option to check all and just check one SCE instead.
-
Hi. About -a what about updating the sce immediatly instead at the end? In this way maybe the work dir contains only an sce at time and also since now the update check takes a lot of time if many sce are present if i stop the update at least some extensions are updated. Also checking only one sce with deps check the bottom one first an immediatly update it. Thanks
-
Ok, I will look into that.
-
One thought I have on this is to have sce-import import an SCE that does not exist, or check for updates for one that does in the SCE dir or the SCE/update dir. That is, only re-import if there are updates, which makes sense as opposeed to re-importing an SCE that needs no updates. And then sce-update simply runs sce-import on each existing SCE. I will ponder this.
-
Hi. Sorry but I don't understand
-
In other words, if you are importing iceweasel, and there is an existing iceseasel.sce in the SCE or SCE/update directoty, sce-import would check if there are any available updates for it and then re-import if there are. And it not, it would not re-import when there is no need to and the existing iceweasel.sce is up to date.