05-07-2020, 02:57 AM
(This post was last modified: 05-08-2020, 01:38 AM by amp.
Edit Reason: formatting
)
(05-06-2020, 01:52 PM)nohandlebars Wrote: And when trying to clone https://github.com/mrfixit2001/updates_repo.git directly I get the following:
Code:rock@Debian-Desktop:~/pinebook-pro-debian-installer$ git clone https://github.com/mrfixit2001/updates_repo.git
Cloning into 'updates_repo'...
remote: Enumerating objects: 5554, done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
I have tried this on both different versions of Manjaro and a fresh copy of the official Debian image both with a variety of different versions of git from the repos and self compiled, all fail in the same way.
With regards to my question about the official Debian packages, could you explain how these can be used in a debootstrap script? For example could these be incorporated into Daniel's script? Apologies if I am misunderstanding their purpose.
The same git clone works fine here (Debian Buster on PINE A64+). Is the Debian image fully up to date? (apt update && apt upgrade)
From your previous post it seemed like you were confusing packages and images (though I might be wrong). Just to make sure we are talking about the same thing:
package: a piece of software (Firefox, Kodi, etc.)
image: something that you can write directly to a storage device (SD card, USB stick, HDD, etc.). Can contain just about everything, though in this context it's typically a pre-installed OS.
The Debian images you linked above are for the official Debian Installer, which can be used to install Debian from scratch. Depending on the image it may or may not contain some software packages, e.g. to be able install the system without a network connection.
debootstrap: a tool (and itself a package) that can be used to install Debian on some local storage, by downloading packages and installing them. This is the low-level tool used by the official Debian Installer, but it can be used to install Debian directly. (a similar tool is mmdebstrap)
For automating installs you can use either the official Debian Installer (preseeding), FAI, or some script based on debootstrap. Do note that after using debootstrap there is still much work to do, which the Debian Installer will do for you instead.
As far as I understand danielt's unofficial installer is "just" a script using debootstrap that is optimized for the PinebookPro (it installs some additional firmware, custom kernel, etc.). It can probably be adapted to your needs.
Have fun
