Giter Club home page Giter Club logo

custopizer's People

Contributors

camdavidsonpilon avatar dependabot[bot] avatar foosel avatar jneilliii avatar kwadfan avatar timonsku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

custopizer's Issues

Possible to recreate an arm6l device?

Hey, very useful package, team!

I'm wondering what part of this stack might need to change to build for an arm6 architecture? (We want to be able to build Rpi Zero images)

Here's what I attempted: I changed the EDITBASE_ARCH to armv6l, and running the run command did produce an output.img, but custom scripts didn't execute.

common.sh is left in /

The common.sh file should be removed - sadly my skills with chaning docker images are not that good :/

failing to umount dev/pts

not sure why, but custopizer keeps failing at the end with

+ apt-get clean
+ apt-get autoremove -y
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/CustoPiZer/workspace /
Unmounting /CustoPiZer/workspace/mount/var/cache/apt...
Unmounting /CustoPiZer/workspace/mount/dev/pts...
umount: /CustoPiZer/workspace/mount/dev/pts: target is busy.

I've done it 3 times and this happens before to rebuilds the fs to shrink it so the img is large, I haven't tested to see if it's usable at this stage. Any ideas, should there be a force or a wait on this for pts to finish up?

Bug?

Was attempting to do some tweaks to my github actions and ran across this error during build...

Running /CustoPiZer/start_chroot_script in chroot...
Building on non-ARM device a armv7l system, using qemu-arm-static
+ set -e
+ export LC_ALL=C
+ LC_ALL=C
+ source /common.sh
+ install_cleanup_trap
+ set -e
+ trap cleanup SIGINT SIGTERM
+ '[' raspbian == ubuntu ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ apt-get update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [378 kB]
Reading package lists...
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
Error: Process completed with exit code 100.

I'm assuming this is related to debian release change upstream from raspbian based on this article.

https://www.raspberrypi.org/forums/viewtopic.php?p=1905664

Setting up environment to build custom image

Hello. I'm fairly new to Linux. Running ubuntu 20.04 and trying to build a custom raspberry pi image, starting from the latest octopi image. I have configured everything I want in my custom image and when I run the docker command I get the following error that I'm note sure how to work around:

update-binfmts: warning: qemu-arm already enabled in kernel.
mount: /proc/sys/fs/binfmt_misc: binfmt_misc already mounted on /proc/sys/fs/binfmt_misc.
Running /CustoPiZer/start_chroot_script in chroot...
Building on non-ARM device a armv7l system, using qemu-arm-static
qemu-arm-static: /bin/bash: Invalid ELF image for this architecture

NEW FEATURE

Maybe to make it easier for the noobs like me add this to the readme:

If you are having problems getting the container to connect to the internet for updates etc. then run with:
--dns 8.8.8.8

config.local errors when file uses carriage return

Adding my own config options seems to cause issues if the file is created under windows with carriage return on the line end.
The config parses correctly but when the value for f.e. resizing the partition is passed to dd it gets fed a carriage return.

....
EDITBASE_IMAGE_ENLARGEROOT=2000
EDITBASE_IMAGE_RESIZEROOT=200
EDITBASE_MOUNT_PATH=/CustoPiZer/workspace/mount
EDITBASE_PYPI_INDEX=
EDITBASE_ROOT_PARTITION=2
EDITBASE_WORKSPACE=/CustoPiZer/workspace
================================================================
/CustoPiZer/workspace /
 MB to partition 2 of /CustoPiZer/workspace/output.img
dd: invalid number: '2000\r'

[doc] Inspecting an image

the doc to inspect an image is not working out of the box, as docker is expecting a path and not a file. further the -v is missing.

this is working for me:
docker run -it --rm --privileged -v /path/to/image_folder:/img ghcr.io/octoprint/custopizer:latest /CustoPiZer/enter_image /img/image.img

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.