Git Product home page Git Product logo

xe303c12_play_linux's Introduction

xe303c12_play_linux

Script that could build debian based armhf disk image for xe303c12 chromebook. Currently implemented support for Kali and Devuan linuxes ( script was based on https://github.com/offensive-security/kali-arm-build-scripts )

Actually it was made for self educational purpose.

Disk image can be simply resized by edim script ( demo ) without rebuilding system

Since script was rewrited this demo may not completely fit to it, but idea and scheme the same.

Some kernel packages placed at releases.

My suggestion how to use the script from installed x86_64 (x86) Kali Linux with Linux Kernel source 5.15.12 or from installed Devuan linux x86_64 for xe303c12-devuan-armhf-linux


# enable network
sudo dhclient eth0

# download kernel source
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.12.tar.xz --no-check-certificate

# download rcn-ee patch
wget https://rcn-ee.com/deb/sid-armhf/v5.15.0-rc7-armv7-x7/patch-5.15-rc7-armv7-x7.diff.gz

# download config
wget https://raw.githubusercontent.com/quarkscript/xe303c12_play_linux/master/config

# download script
wget https://raw.githubusercontent.com/quarkscript/xe303c12_play_linux/master/gadebli

# make script executable
chmod +x gadebli

# extract patch
gzip -d patch-5.15-rc7-armv7-x7.diff.gz

# download kali injection patch
wget https://gitlab.com/kalilinux/build-scripts/kali-arm/-/raw/master/patches/kali-wifi-injection-5.9.patch

# unite patches
cat kali-wifi-injection-5.9.patch>>patch-5.15-rc7-armv7-x7.diff

# build kali-linux system, disk image and kernel; write build log
sudo ./gadebli patch-5.15-rc7-armv7-x7.diff btrfs |& tee -a build.log

## or build devuan-linux with xfce: system, disk image and kernel; write build log
#sudo ./gadebli patch-5.15-rc7-armv7-x7.diff btrfs devuan |& tee -a build.log

## rebuild kernel; write build log
#sudo ./gadebli patch-5.15-rc7-armv7-x7.diff ck |& tee -a build.log

## or rebuild kernel for devuan; write build log
#sudo ./gadebli patch-5.15-rc7-armv7-x7.diff ck devuan |& tee -a build.log

## rebuild disk image; write build log
#sudo ./gadebli btrfs bdi |& tee -a build.log

## of rebuild devuan disk image; write build log
#sudo ./gadebli devuan btrfs bdi |& tee -a build.log

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.