07-20-2020, 03:48 PM
(This post was last modified: 07-20-2020, 03:48 PM by User 18618.)
Inspired by this post about hijacking Mobian to run Bedrock Linux, here's how to add a Kali Linux stratum to Bedrock Linux.
While I hope apt pinning does not create a FrankenDebian, this method ensures distinction between Debian and Kali Linux.
A new Debian stratum has been bootstrapped and named Kali; the repositories will be changed to transform this stratum to Kali Linux.
Now Kali packages can be installed. To prefer (pin) stratum binaries, see /bedrock/etc/bedrock.conf.
While I hope apt pinning does not create a FrankenDebian, this method ensures distinction between Debian and Kali Linux.
Code:
wget https://github.com/bedrocklinux/bedrocklinux-userland/releases/download/0.7.17/bedrock-linux-0.7.17-aarch64.sh
sudo sh ./bedrock-linux-0.7.17-aarch64.sh --hijack
sudo reboot
A new Debian stratum has been bootstrapped and named Kali; the repositories will be changed to transform this stratum to Kali Linux.
Code:
sudo brl fetch -n kali debian
sudo strat kali apt install --no-install-recommends wget gnupg
strat kali wget -O - https://archive.kali.org/archive-key.asc | sudo strat kali apt-key add
printf '%s' 'deb http://http.kali.org/kali kali-rolling main non-free contrib' | sudo strat kali tee /etc/apt/sources.list
sudo strat kali apt update && sudo strat kali apt full-upgrade && sudo strat kali apt autoremove
Now Kali packages can be installed. To prefer (pin) stratum binaries, see /bedrock/etc/bedrock.conf.