[Bug 192178] New: [patch] Missing files in NanoBSD image due to missing trailing / in nanobsd.sh

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 27 23:59:25 UTC 2014


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 at FreeBSD.org
          Reporter: jason.unovitch at 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.


More information about the freebsd-bugs mailing list