fix: policy-rc.d path typo

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
Adphi 2022-08-12 13:42:55 +02:00
parent 2af13ef626
commit 29d953c14d
Signed by: adphi
GPG Key ID: F2159213400E50AB
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ func (b *builder) setupRootFS(ctx context.Context) error {
return err
}
// TODO(adphi): is it the righ fix ?
if err := os.RemoveAll("/ur/sbin/policy-rc.d"); err != nil {
if err := os.RemoveAll("/usr/sbin/policy-rc.d"); err != nil {
return err
}
if err := os.RemoveAll(b.chPath("/.dockerenv")); err != nil {