Skip to content

Commit

Permalink
deb: remove /opt in advance
Browse files Browse the repository at this point in the history
It fixes the following error

  0m17.7s ERROR: FAIL: After purging files have disappeared:
    /opt/	 owned by: td-agent
  • Loading branch information
kenhys committed Aug 11, 2020
1 parent 3ef0a55 commit 3a65cfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions td-agent/apt/install-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ fi
package=${repositories_dir}/${distribution}/pool/${code_name}/${channel}/*/*/*_${architecture}.deb
cp ${package} /tmp
ls $CHROOT/
rm -rf $CHROOT/opt
piuparts --distribution=${code_name} \
--existing-chroot=${CHROOT} \
--keyring=$TD_AGENT_KEYRING \
Expand Down

0 comments on commit 3a65cfe

Please sign in to comment.