Date: Fri, 19 Aug 2016 11:59:30 -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: <60a8da58-dbd5-dd26-6047-745bcf6a21f4@freebsd.org> In-Reply-To: <0dbec794-9dc2-4e72-6114-1e4b0968dae5@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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LjnCcqguCIJIleq6TxbBr8kdUgGPw60wl Content-Type: multipart/mixed; boundary="A3IliIvHmUftuIpVFvTbhPqK0GEQ2UfIQ" 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: <60a8da58-dbd5-dd26-6047-745bcf6a21f4@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> In-Reply-To: <0dbec794-9dc2-4e72-6114-1e4b0968dae5@FreeBSD.org> --A3IliIvHmUftuIpVFvTbhPqK0GEQ2UfIQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/19/16 11:38, Bryan Drewery wrote: > On 8/19/16 10:35 AM, Sean Bruno wrote: >>> >>> As of r304288 I get none of this, tags is in the METALOG and makefs >>> recognizes it. What is the os rel of the host running makefs? >>> >>> I do have some duplicates in the METALOG but makefs is not warning ab= out >>> them or failing. I'm guessing -D is being passed. >>> >> >> >> FreeBSD bruno 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r303327: Mon Jul 25= >> 20:54:25 MDT 2016 sbruno@bruno:/usr/obj/usr/src/sys/BRUNO amd64 >> >> >> Yeah, its definitely passing -D ... at least I see it being passed to >> install. >> >> + 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.tm= p >> -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -d >> /home/sbruno/bsd/fbsd_head/../mfsroot/malta >> + 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.tm= p >> -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -m 644 -o root -g wheel= >> /home/sbruno/bsd/fbsd_head/../tmp/malta/fstab >> /home/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.tm= p >> -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.tm= p >> -D /home/sbruno/bsd/fbsd_head/../mfsroot/malta -m 755 -o root -g wheel= >> ../freebsd-wifi-build/build/bin/..//files.full/autosize >> /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. >> + echo '*** Target Done.' >> *** Target Done. >> + echo $'*** Target\t\t: fullfsimage' >> *** Target : fullfsimage >> + ../freebsd-wifi-build/build/bin/build_fullfsimage malta >> *** Running makefs to build image .. >> *** from /home/sbruno/bsd/fbsd_head/../mfsroot/malta .. >> /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta:54: warning: >> duplicate definition of var >> >=20 > Missing from this is an answer to any of my questions! HA! Well, I'm not quite awake as it is. I'll try to do better. >=20 > What script is this? =46rom the FreeBSD wifi scripts (not in tree). https://github.com/freebsd/freebsd-wifi-build I believe the makefs command we're looking at is the one in build/bin/build_fullfsimage >=20 > What flags are passed to makefs? (The -D above is to install). Passing > -D to my makefs doesn't yield any error anyhow. + cp -f /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta.mfsroot /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta + echo '*** Running makefs to build image .. ' *** Running makefs to build image .. + echo '*** from /home/sbruno/bsd/fbsd_head/../mfsroot/malta ..' *** from /home/sbruno/bsd/fbsd_head/../mfsroot/malta .. + mkdir -p /home/sbruno/bsd/fbsd_head/../img/ + cd /home/sbruno/bsd/fbsd_head/../mfsroot/malta + 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 /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta:54: warning: duplicate definition of var /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta:103: warning: duplicate definition of usr /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta:848: warning: duplicate definition of include /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta:1020: warning: duplicate definition of lib /home/sbruno/bsd/fbsd_head/../mfsroot/METALOG.malta:1049: warning: duplicate definition of usr >=20 > What makefs "version" / What OS rel is the host? FreeBSD bruno 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r303327: Mon Jul 25 20:54:25 MDT 2016 sbruno@bruno:/usr/obj/usr/src/sys/BRUNO amd64 --A3IliIvHmUftuIpVFvTbhPqK0GEQ2UfIQ-- --LjnCcqguCIJIleq6TxbBr8kdUgGPw60wl 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 iQF8BAEBCgBmBQJXt0kCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kIGAIALNDhH3FpijAMGA6IBDcrcbA V9dfumbWwcnTRNdEnMWI5Z29RBjGBg5Zp8xrXVmkzBSlnAAPtqO2tmy33Ul6TDe/ ObKlDi/Sqi4vg/ScFLlXBbwsbjQmqqejV32A1Kr615Y5BwLmhUm4UJWcdFk1u+nx 78oHl+M7rn0Va5to9VascWzbZJOAG6KsMOI5Cxp8AfoLqeKjWrxpw78+9397z/V6 xBShiIKYyFVvV0NS77Pt8EBNpeteytlecPw8JeHFDx+88GEaj2LbuIRexxH4ubtt /JY5GOWfnssOSecWEjXlRjNQl4iE9RCSLkNvgpfl1qDRwfI3J++FkX+OWRrI2zU= =s3h6 -----END PGP SIGNATURE----- --LjnCcqguCIJIleq6TxbBr8kdUgGPw60wl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60a8da58-dbd5-dd26-6047-745bcf6a21f4>