Date: Fri, 19 Aug 2016 13:48:20 -0600 From: Sean Bruno <sbruno@freebsd.org> To: Bryan Drewery <bdrewery@FreeBSD.org>, Adrian Chadd <adrian.chadd@gmail.com> Cc: "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: metalog -> makefs is broken again in -HEAD Message-ID: <1836ae28-b510-06dd-b83f-d08060cf87ac@freebsd.org> In-Reply-To: <894b4841-166c-422f-9fe8-50ed261d76bb@FreeBSD.org> References: <CAJ-VmoknWRf0bkfksp61pamKsLky_b=indGogS%2BJtFrFa%2BXaFw@mail.gmail.com> <78463d96-4dc3-b9a1-4793-05d6c6a76537@freebsd.org> <CAJ-Vmok1weKRsS4F_QWJP5-h%2BTBjAqQE2=PxSFStjh_VZqPF6w@mail.gmail.com> <b3a107fd-80d5-20aa-1f2b-ff60a75b8f94@freebsd.org> <8b012527-e76c-060d-be5b-547deca5cb07@FreeBSD.org> <01069203-3566-12f7-993b-10e8e43be1ac@freebsd.org> <0dbec794-9dc2-4e72-6114-1e4b0968dae5@FreeBSD.org> <60a8da58-dbd5-dd26-6047-745bcf6a21f4@freebsd.org> <894b4841-166c-422f-9fe8-50ed261d76bb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9xnjXj5N70wud16TGhr01iAPA0RU6evrm Content-Type: multipart/mixed; boundary="Nf73onD87bDxJE5SRj5fgFgCgSbtQ73TD" From: Sean Bruno <sbruno@freebsd.org> To: Bryan Drewery <bdrewery@FreeBSD.org>, Adrian Chadd <adrian.chadd@gmail.com> Cc: "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Message-ID: <1836ae28-b510-06dd-b83f-d08060cf87ac@freebsd.org> Subject: Re: metalog -> makefs is broken again in -HEAD References: <CAJ-VmoknWRf0bkfksp61pamKsLky_b=indGogS+JtFrFa+XaFw@mail.gmail.com> <78463d96-4dc3-b9a1-4793-05d6c6a76537@freebsd.org> <CAJ-Vmok1weKRsS4F_QWJP5-h+TBjAqQE2=PxSFStjh_VZqPF6w@mail.gmail.com> <b3a107fd-80d5-20aa-1f2b-ff60a75b8f94@freebsd.org> <8b012527-e76c-060d-be5b-547deca5cb07@FreeBSD.org> <01069203-3566-12f7-993b-10e8e43be1ac@freebsd.org> <0dbec794-9dc2-4e72-6114-1e4b0968dae5@FreeBSD.org> <60a8da58-dbd5-dd26-6047-745bcf6a21f4@freebsd.org> <894b4841-166c-422f-9fe8-50ed261d76bb@FreeBSD.org> In-Reply-To: <894b4841-166c-422f-9fe8-50ed261d76bb@FreeBSD.org> --Nf73onD87bDxJE5SRj5fgFgCgSbtQ73TD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/19/16 12:04, Bryan Drewery wrote: > On 8/19/16 10:59 AM, Sean Bruno wrote: >> + makefs -D -t ffs -M 4294967296 -B be -o 'version=3D2' -f 1048576 >> /home/sbruno/bsd/fbsd_head/../img//fullroot-malta.img >> /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta >=20 > Here's the problem. The METALOG is a mtree file, not a makefs manifest.= >=20 > It needs to pass it as -F and use '.' or full path for the directory. >=20 > Such as: >=20 > makefs -D -t ffs -M 4294967296 -B be -o 'version=3D2' -f 1048576 > -F /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta > /home/sbruno/bsd/fbsd_head/../img//fullroot-malta.img > . >=20 > I get the million errors with the quoted form and none with the > suggested form. >=20 Indeed. I've fixed this up in the freebsd wifi scripts and fired off a pull request for it. Has "install" lost the ability to do relative directories completely? install: open /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp: No such file or directory ls -l /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp -rw-r--r-- 1 sbruno sbruno 203 Aug 19 13:30 /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp --- full script output --- + X_BASEDIR=3D../freebsd-wifi-build/build/bin/../ + INSTALL_PROG=3D'install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta' + echo '*** Deleting old file system..' *** Deleting old file system.. + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -d /home/sbruno/bsd/fbsd_head/../mfsroot/malta install: open /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp: No such file or directory + chflags -R noschg /home/sbruno/bsd/fbsd_head/../mfsroot/malta + rm -rf /home/sbruno/bsd/fbsd_head/../mfsroot/malta + rm -rf /home/sbruno/bsd/fbsd_head/../tmp/malta + echo '*** Creating new filesystem...' *** Creating new filesystem... + mkdir -p /home/sbruno/bsd/fbsd_head/../mfsroot/malta + mkdir -p /home/sbruno/bsd/fbsd_head/../tmp/malta + rsync -arH /home/sbruno/bsd/fbsd_head/../root/mips/ /home/sbruno/bsd/fbsd_head/../mfsroot/malta + echo '/dev/ada0 / ufs rw 1 1' + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -m 644 -o root -g wheel /home/sbruno/bsd/fbsd_head/../tmp/malta/fstab /ho me/sbruno/bsd/fbsd_head/../mfsroot/malta/etc/ + echo 'autosize_enable=3D"YES"' + echo 'autosize_rootfs=3D"/dev/ada0"' + echo 'sshd_enable=3D"YES"' + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -m 644 -o root -g wheel /home/sbruno/bsd/fbsd_head/../tmp/malta/rc.conf / home/sbruno/bsd/fbsd_head/../mfsroot/malta/etc/ + install -U -M /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -m 755 -o root -g wheel =2E./freebsd-wifi-build/build/bin/..//files.full/au tosize /home/sbruno/bsd/fbsd_head/../mfsroot/malta/etc/rc.d/ + ../freebsd-wifi-build/build/bin/filter.pl /home/sbruno/bsd/fbsd_head/../root/mips/METALOG /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.tmp /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.mfsroot + echo '**** Done.' **** Done. *** Target Done. *** Target : fullfsimage *** Running makefs to build image .. *** from /home/sbruno/bsd/fbsd_head/../mfsroot/malta .. makefs: ./usr/local/bin: missing directory in specification makefs: failed at line 26660 of the specification --Nf73onD87bDxJE5SRj5fgFgCgSbtQ73TD-- --9xnjXj5N70wud16TGhr01iAPA0RU6evrm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJXt2KEXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5ktNQH/2iI8XYJD5befpwMeCM1ZyAA p82z723WiPMdR35CRHznimcaAfGLqLp738PIrDjjU5tTf8vlzfvhHuy/+AB8X4tI 2p/rw4GKa/BMWpAYu2+E3kKjN4G/udCv93tiFxwj6GVU8ws7pJWqA/zDru+34G41 VNnIDEdjKeI+Ijj+36gPsKFn5Ez/YS3aUz+L1TvD0rY4u7eUMQr7GCe3xG1/vsRs yWxc5zW5RipEJbf1XkAQcYNI+orprh853BrI8T2+gTKg1f5mk439pmL4UWjnghy2 4NgxCLLe1br5r0f4DofMr8sNos+DxHmvpNr4fcyrOizzrDoLi8gO9RMT60At+XA= =rhXr -----END PGP SIGNATURE----- --9xnjXj5N70wud16TGhr01iAPA0RU6evrm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1836ae28-b510-06dd-b83f-d08060cf87ac>