mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-11 06:56:58 +02:00
overlay coreos/config: Use newins with stdin for pkgcheck.conf
Co-authored-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
fa404f874e
commit
e99bbf87a8
@ -1,8 +1,8 @@
|
|||||||
cros_post_src_install_create_default_config() {
|
cros_post_src_install_create_default_config() {
|
||||||
dodir /etc/pkgcheck
|
insinto /etc/pkgcheck
|
||||||
# these must be indented with tabs, bash only strips leading
|
# these must be indented with tabs, bash only strips leading
|
||||||
# tabs with "<<-", leading spaces won't do.
|
# tabs with "<<-", leading spaces won't do.
|
||||||
cat <<- EOF >"${ED}/etc/pkgcheck/pkgcheck.conf" || die
|
newins - pkgcheck.conf <<-EOF
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
keywords = -NonexistentDeps,-NonsolvableDepsInDev,-NonsolvableDepsInExp,-NonsolvableDepsInStable
|
keywords = -NonexistentDeps,-NonsolvableDepsInDev,-NonsolvableDepsInExp,-NonsolvableDepsInStable
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user