Opened 3 years ago

Closed 3 years ago

#378 closed Feature Request (fixed)

No cases for other versions of FreeBSD, than CURRENT and RELEASE in function pbi-manager:mk_chroot_file().

Reported by: Nukama Owned by:
Priority: trivial Milestone:
Component: PBI System Version: 9.0-BETA1
Keywords: pbi-manager Cc: trac-bugs@…


This affects users of .0-{BETA,RC}, -STABLE and rarely used versions of FreeBSD.

The mk_chroot_file creation process cannot be handled by the current implementation of pbi-manager on these systems.

Solution 1:
Build from sources after manually fetching them.

# cd /usr/src
# make buildworld installworld distribution DESTDIR=${PBI_BUILDTARGET}
# mkdir -p ${PBI_BUILDTARGET}/usr/src
# tar cvf - -C "/usr/src" --exclude "\.svn/" . 2>/dev/null | tar xvf - -C "${PBI_BUILDTARGET}/usr/src" 2>/dev/null
# tar cvjf ${PBI_APPDIR}/.pbi-world.tbz -C ${PBI_BUILDTARGET} .

Solution 2:
Test attached patch, and hope for a good outcome.

Attachments (1)

pbi-manager.patch (1.3 KB) - added by Nukama 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by Nukama

comment:1 Changed 3 years ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Committed the patch, thanks!

Note: See TracTickets for help on using tickets.