Giter Site home page Giter Site logo

Comments (4)

oxzi avatar oxzi commented on July 27, 2024

Thanks for reporting this bug, @adur1990. Could you please supply your Pifile and at least a directory listing of the INSTALLed files resp. directories on your host?

The following is the current copy operation, depending on being a directory or a file.

if [[ -d "${src}" ]]; then
cp -r -T -P --preserve=mode "${src}" "${CHROOT_MOUNT}/${dst}"
else
cp -r -P --preserve=mode "${src}" "${CHROOT_MOUNT}/${dst}"
fi

In my understanding, a source directory should be copied to its destination with all its children. But, of course, I may be in the wrong here.

The used -P switch excludes symbolic links, as this might end up being messy. Might this be related to your issue?

from pimod.

sensslen avatar sensslen commented on July 27, 2024

Is there any reason why cp is used instead of the actual install command available?

from pimod.

oxzi avatar oxzi commented on July 27, 2024

Initially, the INSTALL command used the install program. This was changed in 8151607 for #5 and #8.

from pimod.

jonashoechst avatar jonashoechst commented on July 27, 2024

I tried to reproduce the error but was not able to. I've discussed with @adur1990 at it seems that the project structure he's using yielded the error.

Hidden files inside of folders are copied using the current implementation of pimod, which was already pointed out by @oxzi.

from pimod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.