Commit 5d546324 authored by mntmn's avatar mntmn
Browse files

tweaky mctweakface

parent 85422fd1
......@@ -3,6 +3,6 @@
set -x
set -e
sudo apt install parted multistrap udisks2 g++-arm-linux-gnueabihf
sudo apt install parted multistrap udisks2 gcc-aarch64-linux-gnu
git submodule update --init --recursive
......@@ -29,7 +29,6 @@ do
else
echo "\e[1mKernel patch already applied or cannot apply: $PATCHFILE"
fi
read dummy
done
make -j16 Image freescale/imx8mq-mnt-reform2.dtb
......
......@@ -14,14 +14,14 @@ mkdir -p target
# change 16000 below to the number of megabytes your image file should have
if [ ! -f reform-system.img ]; then
dd if=/dev/zero of=reform-system.img bs=1M count=16000
dd if=/dev/zero of=reform-system.img bs=1M count=0 seek=4000
else
echo "reform-system.img already exists. Delete it if you want to change the image size."
fi
# can/should we use non-mbr? GPT?
/sbin/parted -s reform-system.img "mklabel msdos"
/sbin/parted -s reform-system.img "mkpart primary ext4 1 -1"
/sbin/parted -s reform-system.img "mkpart primary ext4 4MiB -1"
/sbin/parted -s reform-system.img print
LOOPDISK=$(udisksctl loop-setup -f ./reform-system.img)
......@@ -31,14 +31,9 @@ echo LOOPDISK: $LOOPDISK
# format the partition
echo "About to format ${LOOPDISK}p1!"
read -p "Are you sure? " -n 1 -r
#read -p "Are you sure? " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]
then
sudo /sbin/mkfs.ext4 -q ${LOOPDISK}p1
else
exit 1
fi
sudo /sbin/mkfs.ext4 -q ${LOOPDISK}p1
# print the finished partition table
/sbin/parted -s reform-system.img print
......
......@@ -3,6 +3,8 @@
rm -rf ./target-userland
mkdir ./target-userland
set -e
# create debian userland
/usr/sbin/multistrap -d target-userland -f multistrap.conf
cp target-userland/usr/share/base-passwd/group.master target-userland/etc/group
......
......@@ -7,7 +7,7 @@ aptsources=Debian
allowrecommends=false
[Debian]
packages=adduser apt apt-utils apt-file bsdmainutils procps gpgv debian-archive-keyring readline-common gnupg cpio init-system-helpers cron netbase groff-base iproute2 ifupdown isc-dhcp-common isc-dhcp-client iptables iputils-ping kmod less logrotate man-db manpages nano net-tools netcat-traditional nfacct rsyslog tasksel-data tasksel traceroute vim-common vim emacs wget whiptail ssh wicd-curses wicd-gtk wpasupplicant zsh htop build-essential sysvinit-core xterm elinks ntpdate ntp usbutils fbset screen tmux brightnessctl curl coreutils xorg weston sway suckless-tools alsa-utils sudo ca-certificates parted file locales git make ed mesa-utils console-setup console-data unicode-data unifont ttf-unifont kbd kmscube gpm blackbox mplayer pciutils gparted grafx2 mupdf lxappearance faenza-icon-theme pcmanfm cryptsetup meshlab libgtk-3-0 libvte-2.91-0 usb-modeswitch wvdial pmount wicd-gtk unzip gtk2-engines gdb telnet sxiv kicad inkscape gimp gedit gnumeric vim-gtk3 claws-mail netsurf-gtk firefox irssi busybox libllvm6.0 strace bc milkytracker dfu-programmer gcc-avr binutils-avr avrdude arduino-mk feh zathura meson ninja-build libudev-dev libmtdev-dev libevdev-dev libxshmfence-dev xutils-dev autoconf autogen libtool pkg-config python3-mako zlib1g-dev expat valgrind bison llvm flex libunwind-dev libwayland-dev wayland-protocols libwayland-egl-backend-dev libx11-dev libx11-xcb-dev libxdamage-dev libxfixes-dev libxcb-dri3-dev libxcb-xfixes0-dev libxcb-sync-dev libxrandr-dev libxext-dev libxcb-glx0-dev libxcb-present-dev libxcb-dri2-0-dev gettext libpixman-1-dev libbsd-dev libxkbfile-dev libxfont-dev nettle-dev libdbus-1-dev libsystemd-dev libpciaccess-dev autopoint figlet intltool lm-sensors
packages=adduser apt apt-utils apt-file bsdmainutils procps gpgv debian-archive-keyring readline-common gnupg cpio init-system-helpers cron netbase groff-base iproute2 ifupdown isc-dhcp-common isc-dhcp-client iptables iputils-ping kmod less logrotate man-db manpages nano net-tools netcat-traditional nfacct rsyslog tasksel-data tasksel traceroute vim-common vim emacs wget whiptail ssh network-manager wpasupplicant zsh htop build-essential xterm elinks ntpdate ntp usbutils fbset screen tmux brightnessctl curl coreutils xorg weston sway suckless-tools alsa-utils sudo ca-certificates parted file locales git make ed mesa-utils console-setup console-data unicode-data unifont ttf-unifont kbd kmscube gpm blackbox mplayer pciutils gparted grafx2 mupdf lxappearance faenza-icon-theme pcmanfm cryptsetup meshlab libgtk-3-0 libvte-2.91-0 usb-modeswitch wvdial pmount unzip gtk2-engines gdb telnet sxiv kicad inkscape gimp gedit gnumeric vim-gtk3 claws-mail irssi busybox libllvm6.0 strace bc milkytracker dfu-programmer gcc-avr binutils-avr avrdude arduino-mk feh zathura meson ninja-build libudev-dev libmtdev-dev libevdev-dev libxshmfence-dev xutils-dev autoconf autogen libtool pkg-config python3-mako zlib1g-dev expat valgrind bison llvm flex libunwind-dev libwayland-dev wayland-protocols libwayland-egl-backend-dev libx11-dev libx11-xcb-dev libxdamage-dev libxfixes-dev libxcb-dri3-dev libxcb-xfixes0-dev libxcb-sync-dev libxrandr-dev libxext-dev libxcb-glx0-dev libxcb-present-dev libxcb-dri2-0-dev gettext libpixman-1-dev libbsd-dev libxkbfile-dev libxfont-dev nettle-dev libdbus-1-dev libsystemd-dev libpciaccess-dev autopoint figlet intltool lm-sensors policykit-1 systemd libpam-systemd systemd-sysv
source=http://http.debian.net/debian
keyring=debian-archive-keyring
suite=bullseye
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment