coreos version is 1153
kernel version is 4.7.1
I modify the file name of
src/third_party/coreos-overlay/sys-kernel/coreos-sources/coreos-sources-4.7.1.ebuild
to coreos-sources-4.7.2.ebuild
in coreos sdk
$cd ~/trunk/src/scripts
$./build_packerage
I went on following your instructions, but during the ./build_package step
I get the following message:
============
...
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] sys-kernel/coreos-sources-4.7.2:4.7.2::coreos
[4.7.1:4.7.1::coreos] to /build/amd64-usr/ USE="symlink -build" 0 KiB
Total: 1 package (1 in new slot), Size of downloads: 0 KiB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-kernel/coreos-sources-4.7.2::coreos for
/build/amd64-usr/
>>> Failed to emerge sys-kernel/coreos-sources-4.7.2 for /build/amd64-usr/,
Log file:
>>> '
/build/amd64-usr/var/log/portage/sys-kernel:coreos-sources-4.7.2:20160929-063934.log
'
>>> Jobs: 0 of 1 complete, 1 failed Load avg: 1.48, 1.18,
0.97
!!! Fetched file: patch-4.7.2.xz VERIFY FAILED!
!!! Reason: Insufficient data for checksum verification
!!! Got:
!!! Expected: MD5 RMD160 SHA1 SHA256 SHA512 WHIRLPOOL
* Fetch failed for 'sys-kernel/coreos-sources-4.7.2', Log file:
*
'/build/amd64-usr/var/log/portage/sys-kernel:coreos-sources-4.7.2:20160929-063934.log'
* Messages for package sys-kernel/coreos-sources-4.7.2 merged to
/build/amd64-usr/:
* Fetch failed for 'sys-kernel/coreos-sources-4.7.2', Log file:
*
'/build/amd64-usr/var/log/portage/sys-kernel:coreos-sources-4.7.2:20160929-063934.log'
ERROR build_packages: script called: build_packages (args unknown, no
debug available)
ERROR build_packages: Backtrace: (most recent call is last)
ERROR build_packages: file build_packages, line 235, called:
die_err_trap 'sudo -E "${EMERGE_CMD[@]}" "${EMERGE_FLAGS[@]}" "$@"' '1'
ERROR build_packages:
ERROR build_packages: Command failed:
ERROR build_packages: Command 'sudo -E "${EMERGE_CMD[@]}"
"${EMERGE_FLAGS[@]}" "$@"' exited with nonzero code: 1
============
Do I miss something?
Geoff Levand於 2016年9月21日星期三 UTC+8上午8時17分54秒寫道:
>
> On Fri, 2016-09-16 at 15:34 -0700, Jared White wrote:
> > What occurs when I invoke build_packages follows:
> >
> > emerge: there are no ebuilds to satisfy "foo/bar" for /build/amd64-
> > usr/.
>
> Put your kernel patch in
>
> src/third_party/coreos-overlay/sys-kernel/coreos-sources/files/4.X/
>
> Then add the patch to the UNIPATCH_LIST in:
>
>
> src/third_party/coreos-overlay/sys-kernel/coreos-sources/coreossources-4.X.Y.ebuild
>
>
>
> Increment the ebuild's Y version, then enable the module's config in
>
>
> src/third_party/coreos-overlay/sys-kernel/coreos-modules/files/commonconfig-4.X
>
>
>
> Then run build_packages.
>
>