Date: Fri, 27 Oct 2017 13:40:18 +0300 From: Boris Samorodov <bsam@passap.ru> To: freebsd-arm@freebsd.org Subject: Re: Make packages for armv7 makes armv6 packages Message-ID: <308eeb60-6cbe-5dbd-f287-fb70b621999a@passap.ru> In-Reply-To: <86h8ulntob.fsf@elm.localnet> References: <86lgjxo74h.fsf@elm.localnet> <1509058543.56824.61.camel@freebsd.org> <86h8ulntob.fsf@elm.localnet>
index | next in thread | previous in thread | raw e-mail
27.10.2017 06:41, Carl Johnson пишет: > Ian Lepore <ian@freebsd.org> writes: > >> On Thu, 2017-10-26 at 15:51 -0700, Carl Johnson wrote: >>> I have a 12.0-CURRENT RPI2 system that I have been updating with >>> packages that I build on my amd64 desktop system. I just tried building >>> armv7 packages to see if the system could be upgraded that way. I did a >>> buildworld and buildkernel for armv7 and everything worked properly. I >>> then did a make packages for armv7 and it referenced the files created >>> by the armv7 build, but then built armv6 packages. The 'pkg info -F' >>> data showed armv6 architecture, and they were placed in the >>> FreeBSD:12.0:armv6 repo directory. I don't think I did anything wrong, >>> and the commands I used were: >>> >>> make -j4 KERNCONF=RPI2 TARGET=arm TARGET_ARCH=armv7 buildworld buildkernel >>> make -j4 KERNCONF=RPI2 TARGET=arm TARGET_ARCH=armv7 packages >>> >>> I checked the typescript file and the only reference to armv6 was the >>> line where it reports it is creating the the repository in >>> .../FreeBSD:12:armv6/... at the end. >>> >>> Does anybody have any suggestions on what I am missing, or are the >>> packages not implemented yet for armv7? I have upgraded it several >>> times before this conversion to armv7, so I think my procedure is >>> basically correct. The svn revision I used for this was r325018, which >>> was the latest at this time. >>> >>> Thanks for any ideas on this. >> >> I think the problem is that pkg itself hasn't been updated to know >> about armv7. If you apply this patch to ports-mgmt/pkg >> >> https://bz-attachments.freebsd.org/attachment.cgi?id=187008 >> >> then I think it should create armv7 packages for you. > > Thanks, but what is supposed to handle that file? I see two patches in > there, but I don't know what the other lines are supposed to do. % cd /usr/ports/ports-mgmt/pkg % patch -p0 < _this_patch_file_ Then build and install pkg. HTH -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Servehelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?308eeb60-6cbe-5dbd-f287-fb70b621999a>
