WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sce-import doesn't clean up afterwards  (Read 1526 times)

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
sce-import doesn't clean up afterwards
« on: January 10, 2016, 03:02:59 PM »
Running  sce-import nano  , select 1) nano installs /sce/nano.sce - nice.

sce-import does not clean up /tce/import/nano/ afterwards, which contains:
Code: [Select]
tc@box:/mnt/sdb4/tce/import/nano$ ls
bin/  etc/  lib/  sbin/  usr/

Reboot also does not remove these temporary build files.

Workaround: manual delete.

Query, should these temporary files be in /tmp during an import or would that eat too much RAM?
...don't know, that's why i'm asking :)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-import doesn't clean up afterwards
« Reply #1 on: January 10, 2016, 05:24:34 PM »
Thanks, I will look into it.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-import doesn't clean up afterwards
« Reply #2 on: January 10, 2016, 05:52:32 PM »
In the newest release candidate.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-import doesn't clean up afterwards
« Reply #3 on: January 11, 2016, 01:38:13 AM »
Fixed, thanks Jason.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-import doesn't clean up afterwards
« Reply #4 on: January 11, 2016, 05:39:51 AM »
Oh, and the import/nano directory is in ram when sce-import -r option is used, otherwise it is in the tce directory.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-import doesn't clean up afterwards
« Reply #5 on: January 11, 2016, 05:43:40 AM »
Thanks, think i used the -r option once due to low disk space, then ran out of RAM!
Sorry bit off topic, the -r option does not utilize swap space/RAM only?

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: sce-import doesn't clean up afterwards
« Reply #6 on: January 11, 2016, 06:55:45 AM »
It should use swap the same way any other process would use swap if RAM was getting low. 

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: sce-import doesn't clean up afterwards
« Reply #7 on: January 11, 2016, 03:49:24 PM »
Of course you're correct!

Just imported largish extension with one eye on Conky stats, nice, thanks.