Date: Sun, 27 Jul 2014 23:59:25 +0000 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 Message-ID: <bug-192178-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192178-8>