Date: Wed, 16 Oct 2024 10:53:28 +0200 From: Mathieu Arnold <mat@freebsd.org> To: Zsolt Udvari <uzsolt@freebsd.org> Cc: ports@freebsd.org, ports-developper@freebsd.org Subject: Re: Install file into /rescue Message-ID: <tgs7opl2ei5stk2w6fdpsdubjgquufciyk4txjtar6xmsv4itl@x7w23vzxv3p4> In-Reply-To: <Zw9Sg5yTSvmTM9KP@bsd-zsolt-lenovo> References: <Zw9Sg5yTSvmTM9KP@bsd-zsolt-lenovo>
next in thread | previous in thread | raw e-mail | index | archive | help
--3dl334lsc3buydgx Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: Install file into /rescue MIME-Version: 1.0 On Wed, Oct 16, 2024 at 07:43:31AM +0200, Zsolt Udvari wrote: > Hi, >=20 > I want update a port (see https://bugs.freebsd.org/bugzilla/show_bug.cgi?= id=3D282052 ), > but I've a problem: the port wants install a file into /rescue and it > causes an error (in poudriere): > =3D=3D=3D> Registering installation for mg-static-20241008,1 [14-defaul= t] > Installing mg-static-20241008,1... pkg-static: Fail to create temporary > file for /rescue/mg:Read-only file system *** Error code 1=20 >=20 > There is mg-static package in repository and has a file in /rescue so I > think should set something in my poudriere setup. > My poudriere.conf is: >=20 > ZPOOL=3Dzroot > ZROOTFS=3D/poudriere > FREEBSD_HOST=3D_PROTO_://_CHANGE_THIS_ > RESOLV_CONF=3D/etc/resolv.conf > BASEFS=3D/usr/local/poudriere > POUDRIERE_DATA=3D${BASEFS}/data > USE_PORTLINT=3Dyes > USE_TMPFS=3Dno > DISTFILES_CACHE=3D/usr/local/poudriere/distfiles > CCACHE_DIR=3D/var/cache/ccache > ALLOW_MAKE_JOBS=3Dyes > PARALLEL_JOBS=3D3=20 >=20 > How can I solve this problem? That one is easy, a port can only install files in PREFIX. So, it cannot install files in /usr/s?bin, /s?bin or /rescue. It seems the static flavor of this port is completely wrong. It seems like this is an editor, and it seems it wants to install itself in /rescue for some reason, we already have vi in /rescue, so I'd say, ignore the static flavor, as it's broken, or remove it, as it's broken. --=20 Mathieu Arnold --3dl334lsc3buydgx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQITBAABCgB9FiEE9XJBpJetWizkEBUef2IOCp6dQb4FAmcPfwZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY1 NzI0MUE0OTdBRDVBMkNFNDEwMTUxRTdGNjIwRTBBOUU5RDQxQkUACgkQf2IOCp6d Qb5pngwAxEMkGlr8hvhVGMwhoPqDfzmFAJmelZ22oAs9tXuEMCkyiO3liMMKz6p1 M189eLQ9IOqw+3drYU9AsDLjjErWwPWcwBqe61ZDh+REhpl8i2C8pLLjcsCysPck WOpYvfpLCHG06oODKn/i4QWDpi4js4t6L/oOg/u13O+hnhEHdhFY2WaysDRWcEkb mD8NrcYrOTfZ9dCu/gluOxrJsEh+Wc56v/j5RBZWFsPC4YexNK8nM7gf9w7+L2X0 z/QhPWNsxFqbKjFaZG8NcG38qahOsu4VfjiH170Wb/7tpvhNf/QgcdO+XljnIKLQ lO8RBNd58vhwWvMI2wmBXESt4wXphDFcegJd1l9d6JIlfQbbAfiZPOGH1WNZk7A1 mGax0wXI8XIPPBO/iyKyRZab1aAgiFO2ew1gpeDYsQOw4Oyhs1IF3/OSUcmy2MBM 68JZhlSeF+KUZKephkKxvT8sFRu4ke50GLWj2rlSLbwPKZJpyVfW4XgBYUJUDc1p UADQZGMk =ogeK -----END PGP SIGNATURE----- --3dl334lsc3buydgx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?tgs7opl2ei5stk2w6fdpsdubjgquufciyk4txjtar6xmsv4itl>