From owner-freebsd-arch@FreeBSD.ORG Sun Oct 26 03:27:45 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78CF3987 for ; Sun, 26 Oct 2014 03:27:45 +0000 (UTC) Received: from mail-yh0-f49.google.com (mail-yh0-f49.google.com [209.85.213.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33C04FD4 for ; Sun, 26 Oct 2014 03:27:44 +0000 (UTC) Received: by mail-yh0-f49.google.com with SMTP id a41so3019842yho.36 for ; Sat, 25 Oct 2014 20:27:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=EVegrt8ZNv3KdcMGDg3JDXO24Gke5bz8R72UGzwENeY=; b=ZF9eJ57AbbqkinNz3oHQB3Lr3QHPAV9jb9Q0DKeWS+SinIuPatKVGhl6sDwFJQxE4s ijj+O50A4Clc4zufupBeZ5cdBiGYUfLLSwNzPinbEMCi9HlHdEyjGT+gOWsWmxslu+MD OfuZxPUnDbJ6mIBB9A2eYT1PW6WUERTU2gXtwhsiQOzUjnOjAyeXByJ7VzSKIm0PcGAE 4/LTxXFNLpiBdk11RWteUngXgcHalcMQMVPoo1yP3bJMRx4eYfNPbtjpHEi+H5cOTG+s 7Mg0o6PUGVoByG4tdwZwVebgNUVjWFdCgSYavUzKXXMZFg6hy2mnwSmGFrIpLHgO8xIE Sx6A== X-Gm-Message-State: ALoCoQkn6Fa7SyXsH2nHNm/DRLX0RDSEwbT9+JmMS38oJw1twsXedSUEQ919iCBw39UljDQCibFe X-Received: by 10.236.231.98 with SMTP id k92mr496897yhq.161.1414294063797; Sat, 25 Oct 2014 20:27:43 -0700 (PDT) Received: from [192.168.0.14] (173-18-133-79.client.mchsi.com. [173.18.133.79]) by mx.google.com with ESMTPSA id h2sm4116976yhh.25.2014.10.25.20.27.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 25 Oct 2014 20:27:43 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_F5883AC1-F0A2-4C99-B5C2-705037D12AFD"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Retiring WITH_INSTALL_AS_USER From: Warner Losh In-Reply-To: <9250.1414076335@chaos> Date: Sat, 25 Oct 2014 22:27:41 -0500 Message-Id: References: <96C0B2BE-0621-4162-BBB7-7D34AEAB5FD0@gmail.com> <21044.1414038558@chaos> <9250.1414076335@chaos> To: "Simon J. Gerraty" X-Mailer: Apple Mail (2.1878.6) Cc: FreeBSD Arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 03:27:45 -0000 --Apple-Mail=_F5883AC1-F0A2-4C99-B5C2-705037D12AFD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Oct 23, 2014, at 9:58 AM, Simon J. Gerraty wrote: > Warner Losh wrote: >> If it is in the tree, it needs to work.=20 >=20 > No argument there. >=20 >> It is broken in about a dozen places >> now. Perhaps not the ones that you use. >=20 > Hmm I have it permanently set in a projects/bmake tree that builds > buildworld etc fine (while producing meta files) - though its been a > month or two since last sync. Buildworld it is fine. installworld is where it breaks. In a lot of = places. > Internally we have it set in head trees too. > I don't doubt there's something lacking - just haven't noticed, sorry. >=20 >> Makefile.inc1 is the only place it is documented right now. NO_ROOT >> creates a METADATA file for the attributes of the file and does = simple >> copies instead. This lets you build entirely as an unpriv=92d user, = but >> still use makefs to get a filesystem with the proper attributes. In >> many ways it is what you want, and you could get what you want by >> specifying /dev/null for that METADATA if it were more tightly >> coupled.=20 >=20 > Sounds ok.=20 >=20 > Hmm etc/Makefile looks like it lost the ability to run mtree safely=20 > in a cross-build env? The MTREE_FILTER stuff ensures that mtree = doesn't > choke on unknown users and such. > How is that handled now? That=92s a good question. With NO_ROOT you postpone the unknown users = until makefs time. There=92s both pros and cons to that... Warner --Apple-Mail=_F5883AC1-F0A2-4C99-B5C2-705037D12AFD Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUTGotAAoJEGwc0Sh9sBEA+TwQAL3XBpXVNwzMd0O4Mq9NcFSx uWIpq64H8CVv4phMrX81bYt8pGW1URwpF9dfCirHckfH+DsQaw1IcEj40n4nIRP8 yovJesjn2l9+AjlYcmYW28HxLl6vJUP4F2Hp0JQWT47/JAUQ/ymSL1kLR0ZK/4ZA APVUkri51GJFR9qOc/EiAvOyRnN5zLd9+opzZfdHgIxop0gbxZPk9+BwgdF1isZm m2vA6s+BCQyvgJAub9r5phqIoQUD1sB4r1RvDae7QhWlTOfRivHQfrBWnHQcTNUl AexamP/vFh4MOWEkFXKxOEPQSOudYIDwkeyWRKpPwO8czVqq6gAVTnS9wa4EUJTg lMM4hhMfRYeXIaEQq84NSLzm8gGtqv+JY4rhYwavzEbfFbUn33BkJZTJbIlU0kFI XBDOMvg/91v5MuyGXOcyHNTqzZVfnAjIOANha6HnPa2+Wrdl4V3JCNpFKR1JKWSB 1egK5sGmsbSpxlAs3z8i87apULoG2dcD5YPUz+tRufZRoPyBk+JL3/Y/ej3NYAfh BknSZW1YjKzH/qIXQbRlz39p2W1XLXQ/+3pwe4HpcnxPuQY36631jc3oXbxUvht+ 9B+3avfZWbiuOS07aed3lkCn5THrwJxGK/HQSH7Dlq+1PGLda0hSNJ4l354eOv1k VSB8Ue23pcfaFQP3+KHP =BqsS -----END PGP SIGNATURE----- --Apple-Mail=_F5883AC1-F0A2-4C99-B5C2-705037D12AFD--