fix(clean): stop warning when running clean command (#4761)
Jira: https://issues.redhat.com/browse/RHEL-21531
When the clean command is run, runparts is called and README in /etc/cloud/clean.d is not executable which leads to a warning.
No longer deliver the README in our deb package, move content to our online docs. Continue to deliver the /etc/cloud/clean.d directory as it is used by installers like subiquity.
Fixes: GH-4760
(cherry picked from commit da08a260965e35fa63def1cd8b8b472f7c354ffe
)
There is a downstream only change that is squashed with the upstream commit.
The spec file under .distro/
has been updated so as to not include
/etc/cloud/clean.d/README
file. Otherwise, we shall see errors like the
following during the build process:
error: File not found: /builddir/build/.../etc/cloud/clean.d/README
After a rebase, we can only maintain the downstream spec file change as the rest of it is clean cherry-pick from upstream.
X-downstream-only: true
Signed-off-by: Ani Sinha anisinha@redhat.com