commit | adf91f58dac9f177a061d9b206d853a9db3db70a | [log] [tgz] |
---|---|---|
author | Oliver O'Halloran <oohall@gmail.com> | Tue Jul 16 18:33:15 2019 +1000 |
committer | Oliver O'Halloran <oohall@gmail.com> | Wed Jul 17 15:59:24 2019 +1000 |
tree | 083d4f4efd772a7d8be4070afdec36a9f3f12dca | |
parent | 10e915abf1bd31d8b1dae8d01c731ac8dd76c7c0 [diff] |
Fix generate-tar on ppc64 hosts Currently the tarball MANIFEST is garbaled when building the tarball on a ppc64 host. This is because the check to determine if the secureboot header needs to be removed is sensitive to the system page size. By default the scratch directory used when running generate-tar is placed in /tmp. Typically this is a tmpfs file system which has a minimum block of one system page, which is 64KB on ppc64. We use the du utility to calculate the size of the VERSION partition and when a file is smaller than the file systems minimum allocation block it gives an unexpected result: $ du -k /tmp/tmp.BhDKg0pQGF/VERSION 64 /tmp/tmp.BhDKg0pQGF/VERSION $ du -bk /tmp/tmp.BhDKg0pQGF/VERSION 8 /tmp/tmp.BhDKg0pQGF/VERSION We can fix this by passing the '-b' parameter to du to make it ignore the filesystem block size. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Change-Id: I03e47d81d837f73159a523bacdd481d6e294b84b
OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.