Fixes for installation scripts, build image with full application set
the disable install recommends didnt fix the regulatory db issues
This commit is contained in:
parent
d0403b14e3
commit
d990e31592
@ -30,6 +30,9 @@ These packages are required:
|
||||
```
|
||||
|
||||
### Build
|
||||
|
||||
Run 'BuildPrawnOS.sh' either with sudo or as root. Note that building the kernel as root is ill-advised
|
||||
but I haven't ran into any issues.
|
||||
Currently split between 'buildKernel.sh' and 'buildDebianFs.sh'
|
||||
Run the kernel one then the fs one.
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
APT::Install-Recommends "false";
|
||||
APT::AutoRemove::RecommendsImportant "false";
|
@ -4,14 +4,13 @@ DIR=/InstallResources
|
||||
|
||||
#Setup locales, crda
|
||||
apt install -y locales
|
||||
dpkg-reconfigure locale
|
||||
dpkg-reconfigure locales
|
||||
apt install -y crda
|
||||
locale-gen
|
||||
#Install lxqt, wicd
|
||||
apt install -y xorg acpi-support lightdm tasksel dpkg librsvg2-common xorg xserver-xorg-input-libinput alsa-utils anacron avahi-daemon eject iw libnss-mdns xdg-utils lxqt wicd-daemon wicd wicd-curses wicd-gtk xserver-xorg-input-synaptics
|
||||
#Copy in acpi, pulse audio, trackpad settings, funtion key settings
|
||||
cp -rf $DIR/default.pa /etc/pulse/default.pa
|
||||
mkdir /etc/acpi
|
||||
cp -rf $DIR/sound.sh /etc/acpi/sound.sh
|
||||
mkdir /etc/acpi/events
|
||||
cp -rf $DIR/headphone-acpi-toggle /etc/acpi/events/headphone-acpi-toggle
|
||||
|
@ -22,6 +22,7 @@ then
|
||||
e2fsck -p /dev/mmcblk2p2
|
||||
resize2fs /dev/mmcblk2p2
|
||||
echo Rebooting... Please remove the usb drive once shutdown is complete
|
||||
reboot
|
||||
fi
|
||||
|
||||
echo Exiting
|
||||
|
@ -73,8 +73,6 @@ cp scripts/InstallScripts/* $outmnt/InstallResources/
|
||||
cp scripts/InstallScripts/InstallToInternal.sh $outmnt/
|
||||
chmod +x $outmnt/*.sh
|
||||
|
||||
install -D -m 644 $build_resources/80disable-recommends $outmnt/etc/apt/apt.conf.d/80disable-recommends #This should fix the issue of crda being installed but unconfigured causing regulatory.db firmware loading errors in dmesg
|
||||
|
||||
#Setup the chroot for apt
|
||||
#This is what https://wiki.debian.org/EmDebian/CrossDebootstrap suggests
|
||||
cp /etc/hosts $outmnt/etc/
|
||||
|
Loading…
Reference in New Issue
Block a user