Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 15981] New: Hardlinks and castfs (staged install)

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 15981] New: Hardlinks and castfs (staged install)
  • Date: 16 May 2011 16:48:43 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=15981

Summary: Hardlinks and castfs (staged install)
Product: Sorcery
Version: Untargetted future release
Platform: All
OS/Version: Linux
Status: ASSIGNED
Severity: normal
Priority: P3
Component: stage install
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: stealth AT sourcemage.org


When it's done (`ln', `cp -l') somewhere in Makefiles of a spell, castfs works
fine but sorcery simply copies (`cp') the files from stage dir to the system
--
every binary instead of their hard links.

To fix this, we need to compare all files in a stage (check them with `stat'
for inodes) and do `cp -l' or `ln' where needed.

git is a spell that has a lot of hardlinks, where such problem had been found.

Until we fix it in sorcery, 'STAGED_INSTALL=off' is recommended for those
spells with hardlinks in installation.

The target stuff to fix is stage_install_file() in libstage.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



  • [SM-Sorcery-Bugs] [Bug 15981] New: Hardlinks and castfs (staged install), bugzilla-daemon, 05/16/2011

Archive powered by MHonArc 2.6.24.

Top of Page