From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 27 23:59:25 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FB6F68C for ; Sun, 27 Jul 2014 23:59:25 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2EFE5268E for ; Sun, 27 Jul 2014 23:59:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s6RNxPdP011084 for ; Sun, 27 Jul 2014 23:59:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192178] New: [patch] Missing files in NanoBSD image due to missing trailing / in nanobsd.sh Date: Sun, 27 Jul 2014 23:59:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jason.unovitch@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 23:59:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192178 Bug ID: 192178 Summary: [patch] Missing files in NanoBSD image due to missing trailing / in nanobsd.sh Product: Base System Version: 10.0-STABLE Hardware: Any OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: jason.unovitch@gmail.com Created attachment 145055 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=145055&action=edit nanobsd.gitignore.issue.patch Patch attached for the current 'nanobsd.sh' script on 10.0-STABLE (also applies to 11.0-CURRENT). Currently the cpio commands skip over copying .gitignore files included in various Ruby Gem packages to the final NanoBSD image. This results in checksum mismatches when `pkg check -s` is run or in this example below when the '460.pkg-checksum' periodic script installed by pkg runs. This is fixed by addition the trailing / to the two grep lines in nanobsd.sh. ---------------- Checking for packages with mismatched checksums: pkg: fopen(/usr/local/lib/ruby/gems/1.9/gems/bzip2-ruby-0.2.7/.gitignore): No such file or directory rubygem-bzip2-0.2.7_1: /usr/local/lib/ruby/gems/1.9/gems/bzip2-ruby-0.2.7/.gitignore pkg: fopen(/usr/local/lib/ruby/gems/1.9/gems/json-1.8.1/.gitignore): No such file or directory rubygem-json-1.8.1: /usr/local/lib/ruby/gems/1.9/gems/json-1.8.1/.gitignore pkg: fopen(/usr/local/lib/ruby/gems/1.9/gems/json_pure-1.8.1/.gitignore): No such file or directory rubygem-json_pure-1.8.1: /usr/local/lib/ruby/gems/1.9/gems/json_pure-1.8.1/.gitignore -- You are receiving this mail because: You are the assignee for the bug.