Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2015 15:29:01 -0700
From:      Xin Li <delphij@delphij.net>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>, freebsd-current@FreeBSD.org
Subject:   Re: Read-only /usr/obj/ no longer kosher?
Message-ID:  <55DA492D.4030804@delphij.net>
In-Reply-To: <20150823215552.GB1314@garage.freebsd.pl>
References:  <20150823215552.GB1314@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--xV8eJIQJ76GXeDCxeKJGCIqSf25mn78Np
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable



On 8/23/15 14:55, Pawel Jakub Dawidek wrote:
> I used to build world and kernel on one machine and export both /usr/sr=
c/ and
> /usr/obj read-only to other machines. It doesn't work anymore (this is =
from
> 'make installworld'):
>=20
> =3D=3D=3D> bin/freebsd-version (install)
> eval $(egrep '^(TYPE|REVISION|BRANCH)=3D' /usr/src/bin/freebsd-version/=
=2E./../sys/conf/newvers.sh) ;  if ! sed -e " s/@@TYPE@@/${TYPE}/g;  s/@@=
REVISION@@/${REVISION}/g;  s/@@BRANCH@@/${BRANCH}/g;  " /usr/src/bin/free=
bsd-version/freebsd-version.sh.in >freebsd-version.sh ; then  rm -f freeb=
sd-version.sh ;  exit 1 ;  fi
> cannot create freebsd-version.sh: Permission denied
> rm: freebsd-version.sh: Read-only file system
> *** Error code 1

What's the modification times of
/usr/obj/usr/bin/freebsd-version/freebsd-version.sh,
/usr/src/bin/freebsd-version/freebsd-version.sh and
/usr/src/sys/conf/newvers.sh?

Cheers,


--xV8eJIQJ76GXeDCxeKJGCIqSf25mn78Np
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJV2kkxAAoJEJW2GBstM+nsIVkP/AsB+vn+MzDNZyCY7SjDUiFt
idWgqE2S5VsJdVD1mg9BvQ/zyIpnbtMaCO7/gRgO3/Ejivpfl9hiLdkE71fFqVYH
msdfjQfZzikqhuKrCckpAsbt+RwlVwZtl8uDqC6LO0xu2HJY71pImMCYj0fEl2l7
JSKR5LfpYZ5ZOAm8jMbIKi1pmHMwCg7unqwqpM5iID+4J/gr+7Ma2v114bL2oSLw
xOwaFGnyXmNNRvP4BC+NuR2vQZrHVb0oTUjlAzbtXuHASfYXJOLphqpaBz9YNDdK
QSPZ3BekrVm0bx2ZGYvJxfMFDdX4OpbddMdCXrKrkqgMUlL9rN9lypA+aeSJgXtN
UtHRmI/It+hg8CrVVlRzng87XigZOlNxj8ixBm4OUpdGYWaCD/kz/HvQIzmzXi3c
BuKAWgATO0a+5cXPXy6YPZy2nUYxgmWxCkZCKzFcgkGJg/uKkQ/C2zuh/08NSZ1+
NoW926seCN5tV2TW96iD3abbHolcnXGy8qI/JAbv1/ppoNYrXllOTiTx1j8bFCZA
bAW4VFPJB7m3YyDLMWztfaO2BQgTBXQfFg1bcfs96VFEAkSdPYzieUxuLdk3LfN6
1D7yIt2n53KhWIy3DoB5/Fy4JESHAdc9fTKhvyQcJSHkB1cdmHln9Cg5MrtrXd2g
nkJSGif4D0IaxyZly5Ic
=tFG6
-----END PGP SIGNATURE-----

--xV8eJIQJ76GXeDCxeKJGCIqSf25mn78Np--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DA492D.4030804>