[Trac-bugs] [PC-BSD Trac] #378: No cases for other versions of FreeBSD, than CURRENT and RELEASE in function pbi-manager:mk_chroot_file().
PC-BSD
trac at pcbsd.org
Tue Aug 23 14:59:09 PDT 2011
#378: No cases for other versions of FreeBSD, than CURRENT and RELEASE in
function pbi-manager:mk_chroot_file().
-----------------------+--------------------------------
Reporter: Nukama | Type: System Enhancement
Status: new | Priority: trivial
Milestone: | Component: PBI System
Version: 9.0-BETA1 | Keywords: pbi-manager
-----------------------+--------------------------------
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.
--
Ticket URL: <http://trac.pcbsd.org/ticket/378>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management
More information about the Trac-bugs
mailing list