PiShrink | Make your pi images

 by   Drewsif Shell Version: Current License: MIT

kandi X-RAY | PiShrink Summary

kandi X-RAY | PiShrink Summary

PiShrink is a Shell library typically used in Internet of Things (IoT), Raspberry Pi applications. PiShrink has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

PiShrink is a bash script that automatically shrink a pi image that will then resize to the max size of the SD card on boot. This will make putting the image back onto the SD card faster and the shrunk images will compress better. In addition the shrunk image can be compressed with gzip and xz to create an even smaller image. Parallel compression of the image using multiple cores is supported.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PiShrink has a medium active ecosystem.
              It has 2948 star(s) with 552 fork(s). There are 97 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 15 open issues and 183 have been closed. On average issues are closed in 601 days. There are 11 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of PiShrink is current.

            kandi-Quality Quality

              PiShrink has 0 bugs and 0 code smells.

            kandi-Security Security

              PiShrink has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              PiShrink code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              PiShrink is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              PiShrink releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PiShrink
            Get all kandi verified functions for this library.

            PiShrink Key Features

            No Key Features are available at this moment for PiShrink.

            PiShrink Examples and Code Snippets

            No Code Snippets are available at this moment for PiShrink.

            Community Discussions

            Trending Discussions on PiShrink

            QUESTION

            Error with Raspberry Pi Boot after compressing
            Asked 2020-Dec-05 at 11:31

            First of all I am using Raspberry Pi 4 Model B with Raspberry Pi OS.

            I've made an image of Raspbian with some functionalities, later I've cloned it using Win32DiskImager and finally I compressed this image using this script: https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh.

            The last step I did was flashing the compressed .img to the SD using BalenaEtcher.

            Before cloning and compressing the image I put it in read-only mode.

            I have realized that the image with the read-only ON and being compressed => does NOT work.
            But if read-only mode is OFF and I compress the image => IT WORKS FINE.

            When introducing the SD that has the read-only mode ON, it stays in the boot screen and prints this:

            raspi_boot_error

            I think that compressing the image with PishRink script removes something that it don't have to remove...

            Has it happened to someone or have someone suffered the same error that I have shown in the previous image? Any idea what it can be?

            ...

            ANSWER

            Answered 2020-Dec-05 at 11:31

            The problem was the PishRink script that was removing something that it doesn't have to remove...

            I used a new script:

            *** THIS SCRIPT ONLY WORKS ON RASPBIAN IMAGES. ***

            To use this script, copy the code to a file called 'resizeimage.pl'.

            Source https://stackoverflow.com/questions/65122756

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install PiShrink

            You can download it from GitHub.

            Support

            If you find a bug please create an issue for it. If you would like a new feature added, you can create an issue for it but I can't promise that I will get to it.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Drewsif/PiShrink.git

          • CLI

            gh repo clone Drewsif/PiShrink

          • sshUrl

            git@github.com:Drewsif/PiShrink.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link