rootfs-light: fixes for aarch64

This commit is contained in:
Silvan Calarco 2021-01-05 12:28:45 +01:00
parent 95715b2af2
commit ef3286542e
2 changed files with 6 additions and 45 deletions

View File

@ -1,6 +1,9 @@
$(MAKEDIST_TARGET)-$(PLATFORM)-arm: \
midori lxdm
$(MAKEDIST_TARGET)-$(PLATFORM)-aarch64: \
firefox lxdm
$(MAKEDIST_TARGET)-$(PLATFORM)-i586: \
kernel-mamba kernel-mamba-64GB chromium sddm

View File

@ -1,48 +1,6 @@
# add fstab entries
#cat >> $MOUNTDIR/etc/fstab << _EOF
#/dev/mmcblk0p1 /mnt/sd0 auto defaults,noauto 0 0
#_EOF
#mkdir $MOUNTDIR/mnt/{ndda1,ndda2,sd0,sda1,sda2}
# disable nfs
#chroot $MOUNTDIR chkconfig --del nfslock
#chroot $MOUNTDIR chkconfig --del portmap
#chroot $MOUNTDIR chkconfig --del ts-calibrate
## disable random
#chroot $MOUNTDIR chkconfig --del random
## enable ftp server
#sed -i "s|\(.*disable[[:space:]]*= \)yes|\1no|" $MOUNTDIR/etc/xinetd.d/vsftpd
#sed -i "s|#local_enable|local_enable|" $NOUNTDIR/etc/vsftpd.conf
#sed -i "s|#write_enable|write_enable|" $NOUNTDIR/etc/vsftpd.conf
#sed -i "/root/d" $MOUNTDIR/etc/vsftpd/user_list
#sed -i "/root/d" $MOUNTDIR/etc/vsftpd/chroot-list
## remove alsa configuration for now
#rm $MOUNTDIR/etc/asound.conf
# remove some services
#rm -f $MOUNTDIR/etc/rc?.d/???{iptables,acpid}
## generate RPM scripts first time execution
#make_rpm_first_time_script "\
#chkconfig --del acpid
#chkconfig --del alsa
#chkconfig --del iptables
#chkconfig --del nfslock
#chkconfig --del portmap
#"
## configure touchscreen
#cat > $MOUNTDIR/etc/ts-calibrate.conf << _EOF
#TSLIB_CONFFILE=/etc/ts.conf
#TSLIB_CONSOLEDEVICE=none
#TSLIB_FBDEVICE=/dev/fb0
#TSLIB_TSDEVICE=/dev/input/event0
#TSLIB_CALIBFILE=/etc/pointercal
#HOME=/root
#_EOF
if [ -e $MOUNTDIR/etc/lxdm/lxdm.conf ]; then
sed -i "s|# session=.*|session=/usr/bin/startlxqt|" $MOUNTDIR/etc/lxdm/lxdm.conf
fi
# remove some documentation to save space
for f in ChangeLog Changelog CHANGES TODO NEWS README README.txt; do