FreeBSD Bugzilla – Attachment 145497 Details for
Bug 179766
[PATCH] sysutils/debootstrap fails on freebsd with --foreign option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
debootstrap fixes
debootstrap-fixes.diff (text/plain), 2.19 KB, created by
Nikolai Lifanov
on 2014-08-08 01:02:21 UTC
(
hide
)
Description:
debootstrap fixes
Filename:
MIME Type:
Creator:
Nikolai Lifanov
Created:
2014-08-08 01:02:21 UTC
Size:
2.19 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 364334) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= debootstrap > PORTVERSION= 1.0.60 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= ${MASTER_SITE_DEBIAN} > MASTER_SITE_SUBDIR= pool/main/d/${PORTNAME} >@@ -11,11 +12,13 @@ > MAINTAINER= lifanov@mail.lifanov.com > COMMENT= Install Debian base system into a directory > >-RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget >+RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget \ >+ dpkg:${PORTSDIR}/archivers/dpkg > > WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} > NO_BUILD= yes >-USES= gmake tar:xz >+USES= gmake perl5 tar:xz >+USE_PERL5= run > MAKE_ARGS= DESTDIR="${STAGEDIR}" > > ONLY_FOR_ARCHS= i386 amd64 >Index: files/patch-debootstrap >=================================================================== >--- files/patch-debootstrap (revision 364334) >+++ files/patch-debootstrap (working copy) >@@ -1,5 +1,5 @@ > --- ./debootstrap.orig 2014-02-07 10:25:58.000000000 -0500 >-+++ ./debootstrap 2014-08-06 19:34:46.435155899 -0400 >++++ ./debootstrap 2014-08-07 20:46:10.626600981 -0400 > @@ -13,7 +13,7 @@ > if [ -x /debootstrap/debootstrap ]; then > DEBOOTSTRAP_DIR=/debootstrap >@@ -9,6 +9,19 @@ > fi > fi > >+@@ -399,10 +399,10 @@ >+ >+ if in_path dpkg && \ >+ dpkg --print-architecture >/dev/null 2>&1; then >+- HOST_ARCH=`/usr/bin/dpkg --print-architecture` >++ HOST_ARCH=`%%PREFIX%%/bin/dpkg --print-architecture` >+ elif in_path udpkg && \ >+ udpkg --print-architecture >/dev/null 2>&1; then >+- HOST_ARCH=`/usr/bin/udpkg --print-architecture` >++ HOST_ARCH=`%%PREFIX%%/bin/udpkg --print-architecture` >+ elif [ -e $DEBOOTSTRAP_DIR/arch ]; then >+ HOST_ARCH=`cat $DEBOOTSTRAP_DIR/arch` >+ fi > @@ -425,6 +425,10 @@ > esac > fi >@@ -20,3 +33,11 @@ > if [ -z "$ARCH" ]; then > ARCH=$HOST_ARCH > fi >+@@ -621,7 +625,6 @@ >+ if ! am_doing_phase second_stage; then >+ cp "$0" "$TARGET/debootstrap/debootstrap" >+ cp $DEBOOTSTRAP_DIR/functions "$TARGET/debootstrap/functions" >+- cp $DEBOOTSTRAP_DIR/devices.tar.gz "$TARGET/debootstrap/devices.tar.gz" >+ cp $SCRIPT "$TARGET/debootstrap/suite-script" >+ echo "$ARCH" >"$TARGET/debootstrap/arch" >+ echo "$SUITE" >"$TARGET/debootstrap/suite"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
lifanov
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 179766
:
135003
|
145489
|
145496
| 145497