Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

copy-to-dir fail with "file exists" not overridable #244

Open
BlauerHunger opened this issue Aug 6, 2016 · 0 comments
Open

copy-to-dir fail with "file exists" not overridable #244

BlauerHunger opened this issue Aug 6, 2016 · 0 comments

Comments

@BlauerHunger
Copy link

I'm trying to use acbuild to create an image for an application which uses config files in /etc. But when I try to import all the config from a directory on the local filesystem (let's call it image-data.d) (this directory contains a hierarchy such as /etc/apache2/apache2.conf /etc/apache2/sites-available/000-default.conf) with "acbuild copy-to-dir image-data.d/* /" I get an error "copy-to-dir: mkdir /.acbuild/currentaci/rootfs/etc: file exists" and the files don't get imported.
I don't want to specify each file to be imported because the build scripts I use should be as universal as possible.

Is there a way to make acbuild override existing files? (use cp -rf and mkdir -p)

@BlauerHunger BlauerHunger changed the title copy-to-dir fail with file exists not overridable copy-to-dir fail with "file exists" not overridable Aug 6, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant