Reimport fsr's blends directory.

This commit is contained in:
parazyd 2020-11-13 13:52:11 +01:00
parent bc80620fa9
commit 964181b57d
No known key found for this signature in database
GPG Key ID: 6B636BF0493EE747
135 changed files with 8634 additions and 89 deletions

View File

@ -0,0 +1,46 @@
#!/usr/bin/env zsh
## configuration file for devuan-desktop-live blend
vars+=(username userpass default_shell mkefi grubversion hookscripts)
arrs+=(custom_deb_packages)
blend_name="devuan-desktop-live_"
release="ascii"
version="2.1_post_test"
username="devuan"
userpass="devuan"
default_shell="/bin/bash"
# comment to disable:
#hookscripts="yes"
# uncomment to create uefi-bootable iso
#mkefi="yes"
#efi_work="$BLENDPATH/${release}/efi-files"
grubversion="grub-pc"
#grubversion="grub-efi-amd64"
mirror="http://pkgmaster.devuan.org/merged"
section="main contrib non-free"
#base_packages_option=(--no-install-recommends)
#extra_packages_option=(--no-install-recommends)
release_conf="$BLENDPATH/${release}/config"
### package sets are defined in the corresponding $release/config file
source $release_conf
## image_name depends on release and version
image_name="${os}_${release}_${version}_${arch}_desktop"

View File

@ -0,0 +1,359 @@
#!/usr/bin/env zsh
# Copyright (c) 2017 Dyne.org Foundation
# live-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of live-sdk
# devuan-desktop-live.blend is maintained by fsmithred
#
# This source code is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this source code. If not, see <http://www.gnu.org/licenses/>.
BLENDPATH="${BLENDPATH:-$(dirname $0)}"
source $BLENDPATH/config
blend_release_path=$BLENDPATH/$release/
blend_scripts=${blend_release_path}/scripts
blend_preinst() {
fn blend_preinst
req=(blend_name username userpass)
ckreq || return 1
notice "executing $blend_name preinst"
add-user $username $userpass
notice "copying blend-specific debs"
cp -fv "$blend_release_path"/*.deb "$R/extra/custom-packages"
}
blend_postinst() {
fn blend_postinst
req=(strapdir blend_name)
ckreq || return 1
notice "executing $blend_name postinst"
[[ $mkefi = yes ]] && {
iso_make_efi
iso_write_grub_cfg
}
install-custdebs || zerr
pushd "$strapdir"
sudo rsync -avx --no-o --no-g "$blend_release_path"/rootfs-overlay/* . || zerr
popd
blend_finalize || zerr
}
iso_write_isolinux_cfg() {
fn iso_write_isolinux_cfg "(override)"
req=(workdir arch username)
ckreq || return 1
notice "writing isolinux configuration"
cat <<EOF | sudo tee ${workdir}/binary/isolinux/isolinux.cfg >/dev/null
ui vesamenu.c32
prompt 0
menu title devuan-live boot menu
timeout 70
menu background /isolinux/splash.png
menu color title * #FFFFFFFF *
menu color border * #00000000 #00000000 none
menu color sel * #ffffff #44424E *
menu color hotsel 1;7;37;40 #dad9dc #44424E *
menu color tabmsg * #dad9dc #00000000 *
menu color cmdline 0 #dad9dc #00000000
menu tabmsg Press ENTER to boot or TAB to edit a menu entry
menu vshift 12
menu rows 12
label live
menu label ${os}-live (${arch})
menu default
linux /live/vmlinuz
append initrd=/live/initrd.img boot=live username=${username}
label lang
menu label Other language (TAB to edit)
linux /live/vmlinuz
append initrd=/live/initrd.img boot=live username=${username} locales=it_IT.UTF-8 keyboard-layouts=it
label toram
menu label ${os}-live (${arch}) (load to RAM)
linux /live/vmlinuz
append initrd=/live/initrd.img boot=live username=${username} toram
label failsafe
menu label ${os}-live (${arch}) (failsafe)
kernel /live/vmlinuz noapic noapm nodma nomce nolapic nosmp nomodeset vga=normal
append initrd=/live/initrd.img boot=live
label memtest
menu label Memory test
kernel /live/memtest
endtext
EOF
notice "copying isolinux overlay"
sudo mkdir -p "$workdir"/binary/{live,isolinux}
sudo cp -rav "$blend_release_path"/isolinux-overlay/* "$workdir"/binary/isolinux/
sudo cp -av "$blend_release_path"/live-overlay/* "$workdir"/binary/live/
# [[ -n "$hookscripts" ]] && {
# sudo cp -av "$blend_release_path"/hooks "$workdir"/binary/live/
# }
}
# create /boot and /efi for uefi.
# uefi code borrowed and adapted from David Hare, who borrowed and adapted it
# from similar scripts by Colin Watson and Patrick J. Volkerding.
iso_make_efi() {
fn iso_make_efi
req=(workdir efi_work)
ckreq || return 1
notice "creating efi boot files"
tempdir="$(mktemp -d /tmp/work_temp.XXXX)"
# for initial grub.cfg
mkdir -p "$tempdir"/boot/grub
if [ "$arch" = amd64 ] ; then
grubarch="x86_64-efi"
elif [ "$arch" = i386 ] ; then
grubarch="i386-efi"
fi
cat >"$tempdir"/boot/grub/grub.cfg <<EOF
search --file --set=root /isolinux/isolinux.cfg
set prefix=(\$root)/boot/grub
source \$prefix/${grubarch}/grub.cfg
EOF
mkdir -p "$efi_work"
pushd "$efi_work"
# start with empty directories.
rm -rf boot; mkdir -p boot/grub/${grubarch}
rm -rf efi ; mkdir -p efi/boot
# second grub.cfg file
for i in $(find $strapdir/usr/lib/grub/${grubarch} -name 'part_*.mod'); do
print "insmod $(basename $i)" >> boot/grub/${grubarch}/grub.cfg
done
# Additional modules so we don't boot in blind mode.
# I don't know which ones are really needed.
efimods=(
efi_gop
efi_uga
ieee1275_fb
vbe
vga
video_bochs
video_cirrus
jpeg
png
gfxterm
)
for i in $efimods; do
print "insmod $i" >> boot/grub/${grubarch}/grub.cfg
done
print "source /boot/grub/grub.cfg" >> boot/grub/${grubarch}/grub.cfg
pushd "$tempdir"
# make a tarred "memdisk" to embed in the grub image
tar -cvf memdisk boot
# make the grub images
grub-mkimage -O "x86_64-efi" -m "memdisk" -o "bootx64.efi" \
-p '(memdisk)/boot/grub' \
search iso9660 configfile normal memdisk tar cat \
part_msdos part_gpt fat ext2 ntfs ntfscomp hfsplus \
chain boot linux
grub-mkimage -O "i386-efi" -m "memdisk" -o "bootia32.efi" \
-p '(memdisk)/boot/grub' \
search iso9660 configfile normal memdisk tar cat \
part_msdos part_gpt fat ext2 ntfs ntfscomp hfsplus \
chain boot linux
popd
# copy the grub image to efi/boot (to go later in the device's root)
cp "$tempdir"/bootx64.efi efi/boot
cp "$tempdir"/bootia32.efi efi/boot
# Do the boot image "boot/grub/efiboot.img"
dd if=/dev/zero of=boot/grub/efiboot.img bs=1K count=1440
mkfs.vfat -F 12 boot/grub/efiboot.img
sudo mkdir img-mnt
sudo mount -o loop boot/grub/efiboot.img img-mnt
sudo mkdir -p img-mnt/efi/boot
sudo cp "$tempdir"/bootx64.efi img-mnt/efi/boot/
sudo cp "$tempdir"/bootia32.efi img-mnt/efi/boot/
# copy modules and font
cp $strapdir/usr/lib/grub/${grubarch}/* boot/grub/${grubarch}/
# if this doesn't work try another font from the same place (grub's default, unicode.pf2, is much larger)
# Either of these will work, and they look the same to me. Unicode seems to work with qemu. -fsr
# cp /usr/share/grub/ascii.pf2 boot/grub/font.pf2
cp $strapdir/usr/share/grub/unicode.pf2 boot/grub/font.pf2
# copy splash
sudo cp -rav "$blend_release_path"/isolinux-overlay/splash.png boot/grub/splash.png
# Cleanup efi temps
sudo umount img-mnt
sudo rmdir img-mnt
rm -rf "$tempdir"
popd
# Copy efi files to iso
pushd $workdir
sudo rsync -avx "$efi_work"/boot binary/
sudo rsync -avx "$efi_work"/efi binary/
popd
}
iso_write_grub_cfg() {
fn iso_write_grub_cfg "(override)"
req=(workdir arch username)
ckreq || return 1
notice "writing grub configuration"
# Do the main grub.cfg (which gets loaded last):
cat <<EOF | sudo tee ${workdir}/binary/boot/grub/grub.cfg
if loadfont $prefix/font.pf2 ; then
set gfxmode=640x480
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod gfxterm
insmod jpeg
insmod png
terminal_output gfxterm
fi
background_image /boot/grub/splash.png
set menu_color_normal=white/black
set menu_color_highlight=dark-gray/white
set timeout=6
menuentry "${os}-live (${arch})" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username
initrd /live/initrd.img
}
menuentry "Other language" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username locales=it_IT.UTF-8 keyboard-layouts=it
initrd /live/initrd.img
}
menuentry "${os}-live (load to RAM)" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username toram
initrd /live/initrd.img
}
menuentry "${os}-live (failsafe)" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username noapic noapm nodma nomce nolapic nosmp vga=normal
initrd /live/initrd.img
}
menuentry "Memory test" {
linux16 /live/memtest86+.bin
}
EOF
}
blend_finalize() {
fn blend_finalize
req=(strapdir username default_shell)
ckreq || return 1
cat <<EOF | sudo tee ${strapdir}/finalize >/dev/null
#!/bin/sh
## permissions
for i in cdrom floppy audio dip video plugdev netdev lpadmin scanner; do
gpasswd -a ${username} \$i
done
chsh -s "${default_shell}" ${username}
chown -R 1000:1000 /home/${username}
#cp /home/${username}/Desktop/refractainstaller.desktop /usr/share/applications/
chmod +x /home/${username}/Desktop/refractainstaller.desktop
# This can go away when desktop-base is fixed to do the grub theme. (SEEMS TO BE FIXED-no it's not.)
grep -q GRUB_THEME /etc/default/grub || {
printf "\nGRUB_THEME=/usr/share/desktop-base/grub-themes/desktop-grub-theme/theme.txt\n" >> /etc/default/grub
}
# This needs to stay
cp /splash.png /usr/lib/refractasnapshot/iso/isolinux/
rm -f /splash.png
# This has been fixed (in devuan-baseconf) in suites/ascii
#rm -rf /data
rm -f /etc/fstab
rm -f /etc/popularity-contest.conf
rm -f /vmlinuz.old
rm -f /initrd.img.old
# For ascii if no display manager is used. Maybe this should have a
# contitional that's turned on/off in the config?
# echo "needs_root_rights=yes" >> /etc/X11/Xwrapper.config
# Disable contrib and non-free after installing firmware.
sed -i 's/contrib//g' /etc/apt/sources.list
sed -i 's/non-free//g' /etc/apt/sources.list
# for amd64 only at this time
if ls /boot | grep amd64 ; then
apt-get download grub-pc
apt-get download grub-efi-ia32
fi
## package list
dpkg -l | awk '/^ii/ { print \$2 " " \$3 }' > /home/${username}/package_list
# Enable encryption (e.g. for live-usb with persistence)
#sed -i 's/#CRYPTSETUP=/CRYPTSETUP=y/' /etc/cryptsetup-initramfs/conf-hook
CRYPTSETUP=y update-initramfs -u -k all
# Change sources.list to use deb.devuan.org
sed -i 's/pkgmaster/deb/g' /etc/apt/sources.list
apt-get update
apt-get clean
updatedb
EOF
chroot-script -d finalize || zerr
}

View File

@ -2,7 +2,7 @@
## configuration file for devuan-desktop-live blend -- ASCII release
version="2.0.0"
#version="2.1" #This did not work here.
base_packages+=(
@ -12,6 +12,7 @@ base_packages+=(
acpi-support-base
aptitude
apt-listchanges
debootstrap
discover
dnsutils
doc-debian
@ -55,12 +56,11 @@ extra_packages+=(
task-print-server
popularity-contest
refractainstaller-base
refractasnapshot-base
yad
refractainstaller-gui
# refractasnapshot-gui
setnet
libgtk3-perl #need to add this for graphical debconf
)
@ -84,6 +84,7 @@ extra_packages+=(
purge_packages=(
# btrfs-tools
devuan-baseconf
debian-keyring
elinks
elinks-data
@ -105,5 +106,6 @@ purge_packages=(
custom_deb_packages+=(
refractasnapshot-gui_10.0.2_all.deb
refractasnapshot-base_10.2.1_all.deb
refractasnapshot-gui_10.2.2_all.deb
)

Binary file not shown.

View File

@ -0,0 +1,16 @@
# CONFIGURATION FILE FOR SETUPCON
# Consult the console-setup(5) manual page.
ACTIVE_CONSOLES="/dev/tty[1-6]"
CHARMAP="UTF-8"
CODESET="Lat15"
FONTFACE="VGA"
FONTSIZE="8x16"
VIDEOMODE=
# The following is an example how to use a braille font
# FONT='lat9w-08.psf.gz brl-8x8.psf'

View File

@ -0,0 +1,175 @@
DEVUAN ASCII DESKTOP-LIVE
This is Devuan 2.1 ASCII desktop-live stable point-release.
It contains the same package selection as the default desktop in the
regular installer isos, with the addition of a few packages for the live
system, wireless firmware, a live-cd installer and remastering tool to
make your own live-CD/DVD image.
WHAT'S NEW IN ASCII 2.1
Security udates:
- apt (1.4.9) to fix CVE-2019-3462.
- linux-image-4.9.0-9 (4.9.168-1+deb9u4) to fix multiple vulnerabilities
- firefox-esr (60.8.0esr-1~deb9u1) to fix multiple vulnerabilities
- policykit-1 to fix CVE-2018-19788 and CVE-2019-6133
- Many more. (See https://www.debian.org/security/2019/)
Other changes:
- dbus patch to generate new dbus machine-id on boot. This behavior
is configurable in /etc/default/dbus
- memtest86+, lvm2 and mdadm added to desktop-live isos
You can burn the iso to DVD or use dd or cat to image a USB thumb drive.
User name: devuan Password: devuan
Admin name: root Password: toor
Maintained by fsmithred (key id 0xA73823D3094C5620 on pgp.mit.edu)
Built with the Devuan SDK, live-sdk module
CONTENTS
1. Set language/locale at boot.
2. Wireless (non-free) firmware
3. Install to hard drive
4. Remastering
5. Bug reports and support links.
BOOT TO ANOTHER LANGUAGE
Choose the "Other language" option from the boot menu.
Press TAB to edit the boot command.
Backspace to erase "it_IT.UTF-8" (Ignore the repeating lines. Bug
or misconfigured?)
Type your locale code in its place and then ENTER.
Note: When you install the system, your chosen language will be the
default in the installed system.
WIRELESS (NON-FREE) FIRMWARE
To set up wireless networking, use wicd network manager or run setnet.sh
from a root terminal (or with sudo).
Wireless firmware is already installed. Most of the firmware packages
come from the non-free repository, however the non-free and contrib
repositories are not enabled. If you want to install packages from
non-free or contrib, you need to edit /etc/apt/sources.list or add them
through Synaptic Package Manager in the System menu.
You can remove all the non-free firmware after you reboot into the new
installation by running (as root or with sudo):
remove-non-free-firmware
If you need to reinstall a firmware package, they are located in /firmware
and can be installed with:
dpkg -i <package-name>
Here is the full list of non-free wireless firmware packages installed:
firmware-atheros firmware-bnx2 firmware-bnx2x firmware-brcm80211
firmware-intelwimax firmware-iwlwifi firmware-libertas firmware-linux-nonfree
firmware-myricom firmware-netxen firmware-qlogic firmware-realtek
firmware-ti-connectivity firmware-zd1211
INSTALLER
This Devuan live-iso comes with Refracta Installer, which will copy the
running system to hard drive and install the GRUB bootloader. Any changes
you make to the running system will be copied to the installation. This
includes desktop configuration, software added or removed, language/locale
settings and other changes in system configuration.
The installer will allow you to create a separate /home partition and/or
a separate /boot partition if needed.
There is no automatic partitioning. You can create the partitions before
you start the installer or from within the installer. Gparted, cfdisk and
gdisk are all installed and available. For a legacy bios install, the
minimum needed is a single partition for the system. For a uefi install,
you must also have an EFI partition. Refer to the installer help
document. (See /usr/lib/refractainstaller/readme.refractainstaller.txt
or press Help from within the installer.)
IMPORTANT NOTE: grub-efi-amd64 is installed. If you boot from bios, the
installer will find the grub-pc package and ask if you want it copied
and installed or if you would like to proceed without a bootloader.
If your hardware needs a 32-bit uefi bootloader with a 64-bit operating
system, install the grub-efi-ia32 package before running the installer.
This is true for both graphical and cli installers.
dpkg -i /grub-efi-ia32
Note: UEFI implementations in motherboards vary in their adherence to
standards from one manufacturer to the next. Read the Help in the
installer, read the additional links in the help, and be prepared to do
some manual fixing of your bootloader.
That said, you should not be surprised if it all works perfectly.
HP WARNING!!! If your computer was made by Hewlett-Packard and uses UEFI,
read these before installing!
https://dev1galaxy.org/viewtopic.php?id=15
http://www.rodsbooks.com/efi-bootloaders/index.html
You can also start the installer from a root terminal (or with sudo):
refractainstaller # Starts the text-only installer.
refractainstaller-yad # Starts the graphical installer.
You can encrypt the filesystem if desired. (root filesystem and /home).
The installer will use an existing swap partition. If there is no swap
partition or if you un-check that option, the installer will create a
swapfile in the root of the filesystem. The default size is 256MB, but
this can be changed by editing the config file. (/etc/refractainstaller.conf)
This installer will not let you encrypt a swap partition; use a swapfile
on an encrypted partition instead.
If you want automatic partitioning, LVM or RAID, you must use one of the regular installer isos.
If you want to install on uefi hardware with an installer that has had more extensive testing,
use one of the regular installer isos.
REMASTERING (Make your own live-CD/DVD/USB)
Run Refracta Snapshot from the applications menu or refractasnapshot-gui
in a root terminal for the graphical version.
Run refractasnapshot from a root terminal for the text-only version.
The program will copy your installed system and pack it into a bootable
iso that can be burned to optical disk or imaged to a usb stick.
See /usr/share/doc/refractasnapshot-base/README.gz for details.
BUG REPORTS AND SUPPORT LINKS
Comments, suggestions, criticisms, and bug reports are welcome.
Please report bugs on the official Devuan Bug Tracking System:
http://bugs.devuan.org
Full list of community links can be found at:
https://devuan.org/os/community
Support:
IRC Channel on freenode.net: #devuan
Support forum: dev1galaxy.org

View File

@ -0,0 +1,331 @@
# Devuan 2.1 ASCII Release Notes
## Index
- Introduction
- What's new in this point-release
- Getting Devuan 2.1 ASCII
- Upgrading to Devuan 2.1 ASCII
- Devuan Package Repositories
- Change of "Origin" in Release and InRelease files
- Non-free firmware
- About eudev
- Session management and policykit backends
- Starting X from a terminal
- Devuan package information pages
- Reporting bugs
### Introduction
This document includes technical notes relevant to Devuan 2.1 ASCII.
More information and support on specific issues can be obtained by:
- subscribing to the DNG mailing list:
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
- visiting the Devuan user forum:
https://dev1galaxy.org
- shouting (but not too loud) on one of the Devuan IRC channels:
#devuan (freenode) - general discussion about Devuan
#devuan-arm (freenode) - specific support for ARM
### What's new in ASCII 2.1
Security udates:
- apt (1.4.9) to fix CVE-2019-3462.
- linux-image-4.9.0-9 (4.9.168-1+deb9u4) to fix multiple vulnerabilities
- firefox-esr (60.8.0esr-1~deb9u1) to fix multiple vulnerabilities
- policykit-1 to fix CVE-2018-19788 and CVE-2019-6133
- Many more. (See https://www.debian.org/security/2019/)
Other changes:
- dbus patch to generate new dbus machine-id on boot. This behavior
is configurable in /etc/default/dbus
- memtest86+, lvm2 and mdadm added to live isos
### Getting Devuan 2.1 ASCII
Devuan 2.1 ASCII is available for i386, amd64, armel, armhf and arm64
platforms. Installers, live CDs, and images for virtual machines and
ARM SOCs can be downloaded at:
http://files.devuan.org/devuan_ascii/
Please consider using one of the many mirrors, listed at:
https://devuan.org/get-devuan
Detailed instructions on how to use each image are available in the
corresponding 'README.txt' file. The SHA256SUMS of each set of images
is signed by the developer in charge of the build. The fingerprints of
GPG keys of all Devuan developers are listed at:
https://devuan.org/os/team
In order to check that the images you downloaded are genuine and not
corrupted, you should:
- download the image(s)
- download the corresponding SHA256SUMS and SHA256SUMS.asc files
in the same folder
- verify the checksums running:
$ sha256sum -c SHA256SUMS
(it could complain about missing files, but should show an "OK"
close to the images you have actually downloaded)
- verify the signature running:
$ gpg --no-default-keyring --keyring ./devuan-devs.gpg --verify SHA256SUMS.asc
(we assume that you have put the GPG keys in the keyring named
"devuan-devs.gpg". YMMV)
The 'devuan-devs.gpg' keyring is provided only for convenience. The
most correct procedure to verify that the signatures are authentic is
by downloading the relevant public keys from a trusted keyserver,
double-check that the fingerprint of the key matches that of the
developer reported on https://devuan.org/os/team and then use that key
for verification.
## Upgrading to Devuan 2.1 ASCII
Direct and easy upgrade paths from Devuan Jessie, Debian Jessie, and
Debian Stretch to Devuan 2.1 ASCII are available.
Upgrade from Devuan Jessie:
https://devuan.org/os/documentation/dev1fanboy/upgrade-to-ascii
Migrate from Debian Jessie or Stretch:
https://devuan.org/os/documentation/dev1fanboy/migrate-to-ascii
The following will be enough to upgrade if you are already using
Devuan ASCII Beta or Devuan ASCII RC:
apt-get update && apt-get dist-upgrade
### Devuan Package Repositories
Thanks to the support of many volunteers and donors, Devuan has
recently put in place a network of package repository mirrors. The
mirror network is accessible using the FQDN "deb.devuan.org" or
"{CC}.deb.devuan.org", where {CC} is a two-letter ISO 3166-1 country
code, such as "us" for the USA, "fr" for France, "mx" for Mexico, "nl"
for the Netherlands, and so on.
Starting from Devuan 2.0 ASCII, users should use exclusively
"deb.devuan.org" or ""{CC}.deb.devuan.org" in their 'sources.list'
file, e.g.:
deb http://deb.devuan.org/merged ascii main
deb http://deb.devuan.org/merged ascii-security main
deb http://deb.devuan.org/merged ascii-updates main
deb http://deb.devuan.org/devuan ascii-proposed main
Along with the above addresses, the repositories are also accessible
using the Tor network, by using our hidden service address:
deb tor+http://devuanfwojg73k6r.onion/merged ascii main
deb tor+http://devuanfwojg73k6r.onion/merged ascii-security main
deb tor+http://devuanfwojg73k6r.onion/merged ascii-updates main
deb tor+http://devuanfwojg73k6r.onion/devuan ascii-proposed main
All the mirrors contain the full Devuan package repository (all the
Devuan releases and all the suites). They are synced every 30 minutes
from the main Devuan package repository ("pkgmaster.devuan.org"), and
are continuously checked for sanity, integrity, and consistency. The
package repository network is currently accessed through a DNS
Round-Robin, but this will soon be changed into a series of
region-based redirects to improve bandwidth usage.
The updated list of mirrors belonging to the network is available at:
http://pkgmaster.devuan.org/mirror_list.txt
Users could also opt for directly accessing one of the mirrors in that
list using the corresponding BaseURL.
IMPORTANT NOTE: The package mirrors at "deb.devuan.org" are signed
with the following GPG key:
pub rsa4096 2017-09-04 [SC] [expires: 2022-09-03]
E032601B7CA10BC3EA53FA81BB23C00C61FC752C
uid [ unknown] Devuan Repository (Amprolla3 on Nemesis
<repository@devuan.org>)
sub rsa4096 2017-09-04 [E] [expires: 2022-09-03]
The key is included in the package "devuan-keyring". In order to use
deb.devuan.org, you must have `devuan-keyring_2017.10.03` or higher.
IMPORTANT NOTE: Devuan has planned to eventually discontinue the
original set of Devuan mirrors available at auto.mirror.devuan.org and
{CC}.mirror.devuan.org. As a consequence, users are strongly
encouraged to use the new set of mirrors at "deb.devuan.org" and
"{CC}.deb.devuan.org".
### Change of "Origin" in Release and InRelease files
Starting from May 31st 2018 the "Origin:" field of Release and
InRelease files served by deb.devuan.org is correctly set to
"Devuan". This solves several minor issues with `lsb` reporting
incorrect information about the OS and release. The change
should be seamless for Devuan Jessie and Devuan ASCII users.
### Non-free firmware
All Devuan 2.1 ASCII install media make non-free firmware packages
available at install time. In the majority of the cases, these
packages are needed (and will be installed) only if your wifi adapter
requires them. It is possible to avoid the automatic installation and
loading of needed non-free firmware by choosing the "Expert install"
option in the installation menu.
Devuan 2.1 ASCII desktop-live and minimal-live images come with
non-free firmware packages pre-installed. You have the option of
removing those non-free firmware packages from the desktop-live and
minimal-live after boot, using the "remove_firmware.sh" script
available under /root.
### About eudev
Following the inclusion of udev (a daemon in charge of device
management) in the systemd code tree, Devuan 2.1 ASCII provides the
alternative "eudev" package. The transition from udev to eudev is
managed through transitional packages, and should be automatic and
seamless.
### Session management and policykit backends
Devuan 2.1 ASCII provides a choice of 5 Desktop Environments at
install time (XFCE, Cinnamon, KDE, LXQT, MATE), while many other
window managers are available from the repositories.
These days, Desktop Environments rely on a session management system
to allow the user to perform several typical tasks without requiring
administrator privileges, including suspending/rebooting/shutting down
the system, mounting external devices, configuring networking, and so
on.
Two of such session management systems are available in Devuan 2.1
ASCII, namely:
- consolekit
- elogind
These session managers are mutually exclusive, only one of them can be
installed and active at a time to avoid unwanted interference. In
order to grant processes in the unprivileged user session access to
select privileged operations, the installed session manager is
connected to the policykit-1 framework by a set of matching back-end
libraries.
Each of the 5 DEs available in Devuan comes with a recommended default
combination of login manager (either slim or lightdm) and session
management system:
- XFCE: slim + consolekit
- Cinnamon: lightdm + elogind
- KDE: lightdm + elogind
- LXQT: lightdm + elogind
- MATE: slim + consolekit
In order for session management to work correctly, the login manager
(aka display manager, DM) has to register the user session with the
installed session manager (i.e. either consolekit or elogind), which
in turn has to cooperate with the relevant components of the desktop
environment. The default pairings listed above are known to work well
and do not require user intervention, but other combinations are
possible.
### Starting X from a console (TTY)
In Devuan 2.1 ASCII, the X server no longer requires to be run with
root privileges. As a consequence, there are some additional
requirements to be met when launching X directly from a TTY (i.e.,
through 'xinit' or 'startx'), especially on systems upgraded from
Devuan Jessie.
In Devuan 2.1 ASCII it is sufficient to install 'elogind' and
'libpam-elogind', and then use either 'startx' or 'xinit' as usual
from a regular user account. In this case, the Xorg log file will be
available under '~/.local/share/xorg/'.
The system still needs to support Kernel Mode Setting (KMS).
Therefore, this solution may not work in some virtualization
environments (e.g. virtualbox) or if the kernel has no driver that
supports your graphic card.
Alternatively, it is still possible to run X with setuid root. In this
case, you need to install `xserver-xorg-legacy` and ensure that the
file '/etc/X11/Xwrapper.config' contains the (uncommented) line:
needs_root_rights=yes
### Devuan package information pages
Devuan has recently set up a simple service to display information
about all the packages available in Devuan. The service can be
accessed at:
https://pkginfo.devuan.org
It is possible to search for package names matching a set of keywords,
and to visualise the description, dependencies, suggestions and
recommendations of each package. Please report any issues with this
new service and/or get in touch if you have suggestions about how it
can be improved.
### Reporting bugs
No piece of software is perfect. And acknowledging this fact is the
first step towards improving our software base.
Devuan strongly believes in the cooperation of the community to find,
report, and solve issues. If you think you have found a bug in a
Devuan package, please report it to:
https://bugs.devuan.org
The procedure to report bugs is quite simple: just install and run
`reportbug`, a tool that will help you compiling the bug report and
including any relevant information for the maintainers.
`reportbug` assumes than you have a properly configured Mail User
Agent that can send emails (and that it knows about). If this is not
the case, you can still prepare your bug report with `reportbug`, save
it (by default reportbug will save the report under /tmp), and then
use it as a template for an email to submit@bugs.devuan.org.
(NOTE: Devuan does not provide an open SMTP relay for `reportbug`
yet. If you don't know what this is about, you can safely ignore this
information).
When the bug report is processed, you will receive an email
confirmation indicating the number associated to the report.
Here you can check the status of your report:
https://bugs.devuan.org/db/ix/full.html
Before reporting a bug, you might probably want to check whether the
very same problem has been already experienced and reported by other
users, e.g. by checking the list of packages with known bugs:
http://bugs.devuan.org/db/ix/packages.html
`reportbug` is a tool made by Debian for Debian, over a timespan of
about 25 years. This means that it is sometimes difficult to adapt it
to a new setup. We are currently working to improve the integration of
reportbug with the Devuan infrastructure, and to improve the
management, triaging, and reporting of bugs. Please bear with us ;^)

View File

@ -0,0 +1,112 @@
#!/usr/bin/env zsh
## configuration file for devuan-desktop-live blend -- Beowulf release
base_packages+=(
lsof
bash-completion
texinfo
acpi-support-base
acpi-fakekey
aptitude
apt-listchanges
debootstrap
discover
dnsutils
doc-debian
docutils-common
docutils-doc
ftp
gettext
gnupg2
gparted
grub-pc-bin
$grubversion
iw
laptop-detect
lvm2
mdadm
mlocate
mutt
ncurses-term
net-tools
netcat-traditional
nfs-common
procmail
reportbug
telnet
traceroute
usbutils
util-linux-locales
w3m
whois
)
extra_packages+=(
task-desktop
task-laptop
task-xfce-desktop
fontsnaps
task-print-server
popularity-contest
refractainstaller-base
refractasnapshot-base
yad
refractainstaller-gui
refractasnapshot-gui
libgtk3-perl #need to add this for graphical debconf
gvfs-backends
)
extra_packages+=(
firmware-atheros
firmware-bnx2
firmware-bnx2x
firmware-brcm80211
firmware-intelwimax
firmware-iwlwifi
firmware-libertas
# firmware-linux-nonfree
# firmware-misc-nonfree
firmware-myricom
firmware-netxen
firmware-qlogic
firmware-ralink
firmware-realtek
firmware-ti-connectivity
firmware-zd1211
)
purge_packages=(
devuan-baseconf
debian-keyring
elinks
elinks-data
git
git-core
git-man
liberror-perl
libfsplib0
libtre5
openntpd
openssh-server
openssh-sftp-server
tmux
zsh
zsh-common
intel-microcode
iucode-tool
amd64-microcode
)
custom_deb_packages+=(
)

View File

@ -0,0 +1,387 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Devuan GNU+Linux -- Software freedom, your way</title>
<meta name="Description" content="Devuan GNU+Linux is a free distribution of the GNU+Linux operating system. It is maintained and updated through the work of many users who volunteer their time and effort.">
<meta name="Keywords" content="devuan, GNU, linux, unix, open source, free, DFSG">
<meta name="Language" content="English">
<meta name="Author" content="freedom@devuan.org">
<link rev="made" href="mailto:freedom@devuan.org">
<link href="desktop-live-install-guide_files/liveinstall.css" rel="stylesheet" type="text/css">
<link href="desktop-live-install-guide_files/debinstall-print.css" media="print" rel="stylesheet" type="text/css">
</head>
<body id="readme">
<div id="line">
<div id="header">
<div id="upperheader">
<div id="logo">
<a href="http://www.devuan.org/" title="www.devuan.org"><img src="desktop-live-install-guide_files/devuan-emblem90.png" alt="www.devuan.org" width="90" height="90"></a>
</div><!-- end logo -->
<p class="section"><em>Installer</em></p>
</div><!-- end upperheader -->
<div id="intro">
<div id="splash">
<h1>
Welcome to the reliable world of
<span id="devuan-img"><a href="http://www.devuan.org/" title="www.devuan.org"><img src="desktop-live-install-guide_files/devuan-61.png" alt="Devuan GNU+Linux" width="211" height="94"></a></span></h1>
</div>
</div>
</div>
</div>
<p id="breadcrumbs"></p>
<div id="outer">
<h2>Devuan install guide</h2>
<p>
This is an easy to follow guide to installing Devuan from the CD/DVD
images for supported hardware. The general advice accompanying this
guide is that you should always backup your data before you begin.
</p>
<h2 id="installing">Live install</h2>
<p>
This installation procedure uses the graphical desktop-live installer
from the running live image. It may be launched from the desktop icon or
the system menu.
</p>
<p><strong><i>0) Before you start</i>:</strong> Please read the RELEASE NOTES provided on the desktop.</p>
<p><strong><i>1) Security warning</i>:</strong> The root password of
this live installer is publicly known, which is a security risk when
connecting to the internet. It is recommended to change the root
password before continuing:
</p>
<p>
<code>~$ sudo passwd</code></p>
<p>Begin the install by double-clicking the <em>Install Devuan</em> icon on the desktop.
</p>
<p><strong><i>2.1) BIOS MBR mode</i>:</strong> This window comes up in the amd64 desktop-live install if you're installing on a BIOS system. Choose 'Continue'.
</p>
<p>
<img src="desktop-live-install-guide_files/dl02.png" alt="bios-notice">
</p>
<p><strong><i>2.2) UEFI mode</i>:</strong> In a UEFI install, this informs
you whether you have a proper EFI partition or not. If an EFI partition
is detected, make sure that it resides on the first disk before
continuing.
</p>
<p>
<img src="desktop-live-install-guide_files/dl02_002.png" alt="efi-notice">
</p>
<p><strong><i>2.3) Help</i>:</strong> Additional options and information.
</p>
<p>
<img src="desktop-live-install-guide_files/dl02_003.png" alt="help">
</p>
<p><strong><i>3.1) Installation options</i>:</strong> Choose your installation
options here. For example, you can choose to have certain directories
mounted as a partition instead of installing to a single root partition.
</p>
<p>
<img src="desktop-live-install-guide_files/dl03.png" alt="options">
</p>
<p><strong><i>3.2) Encryption</i>:</strong> The installer can only encrypt root and home
filesystems. A separate boot partition is optional and will be unencrypted if present.
For full protection of your data you should not use a separate swap partition. If
there is no swap partition, a swap file will be created on the root filesystem
and that will be encrypted.</p>
<p>For traditional hard disks you can choose to write random data to encrypted
partitions for additional security. This can take a long time depending
on the size of partitions. You might not want to do this for Solid State Drives
due to their write limits.
</p>
<p>
<img src="desktop-live-install-guide_files/dl03_003.png" alt="options-encrypt">
</p>
<p><strong><i>3.3) Boot directory encryption</i>:</strong> By default the boot
directory will be encrypted. This is generally a good idea for full disk
encryption setups.
</p>
<p>
<img src="desktop-live-install-guide_files/dl03_002.png" alt="full-disk-notice">
</p>
<p><strong><i>4.1) Summary</i>:</strong> This screen reminds you of the partitions
currently on your system before you prepare a location to install Devuan.
</p>
<p>
<img src="desktop-live-install-guide_files/dl04_003.png" alt="choose-partitioner">
</p>
<p><strong><i>4.2) Choose a partitioning method</i>:</strong> If the drive is
already partitioned you can skip this step. You will now be
presented choices for how you'd like to partition your installation
drive. The easiest of these options is to use GParted. Choose GParted
to continue with this walkthrough, as the other options are
beyond the scope of this discussion.
</p>
<p>
<img src="desktop-live-install-guide_files/dl04_002.png" alt="choose-partitioner">
</p>
<p><strong><i>4.3) Using GParted</i>:</strong> You should now create your
partitions with GParted. You will need to create at least a root
filesystem and any partitions you previously told the installer about.
If warned by GParted to do so, create a partition table according to
your boot mode which was discussed earlier - use an <code>msdos</code>
partition table for MBR boot mode or a <code>gpt</code> partiton
table for UEFI boot mode. This window shows a valid partition scheme for a UEFI install
</p>
<p>
<img src="desktop-live-install-guide_files/dl04.png" alt="gparted">
</p>
<p><strong><i>5.1) Bootloader location</i>:</strong> Now, on an i386 machine you will be asked where the
bootloader should be installed. In most cases you should choose to
install the GRUB bootloader to the MBR.
</p>
<p>
<img src="desktop-live-install-guide_files/dl05.png" alt="grub-location">
</p>
<p><strong><i>5.2) Choose bootloader location</i>:</strong> To continue, now specify
the device for installation of the bootloader.
</p>
<p>
<img src="desktop-live-install-guide_files/dl05_002.png" alt="grub-location">
</p>
<p><strong><i>6) Choose the installation partition</i>:</strong> You should now
choose the partition to which Devuan will be installed. This should be one of
the partitions you formatted earlier. To use other filesystems, pre-format
them and choose 'Do not format' in the options window. If you chose a separate
/home or /boot, you'll get similar windows for each.
</p>
<p>
<img src="desktop-live-install-guide_files/dl06.png" alt="choose-root">
</p>
<p><strong><i>7) Choose a filesystem</i>:</strong> Now choose which ext
filesystem to use. There are three choices available for filesystems. The
most recent iteration is the ext4 filesystem and this is what you should
go with here.
</p>
<p>
<img src="desktop-live-install-guide_files/dl07.png" alt="choose-root-fs">
</p>
<p><strong><i>8.0) Summary</i>:</strong> The following 4 summaries illustrate how
the installation might be done based on your previous choices. Only one
of these typical options will appear during the installation process. Make
sure these options are acceptable before proceeding with the installation,
otherwise you should exit and start over.
</p>
<p><strong><i>8.1) Typical summary for an amd64 BIOS install</i>:</strong>
</p>
<p>
<img src="desktop-live-install-guide_files/dl08_002.png" alt="amd64-bios-summary">
</p>
<p><strong><i>8.2) Typical summary for an amd64 UEFI install</i>:</strong>
</p>
<p>
<img src="desktop-live-install-guide_files/dl08_003.png" alt="amd64-uefi-summary">
</p>
<p><strong><i>8.3) Typical summary for an i386 install</i>:</strong>
</p>
<p>
<img src="desktop-live-install-guide_files/dl08_004.png" alt="i386-summary">
</p>
<p><strong><i>8.4) Typical summary for an encrypted install</i>:</strong>
</p>
<p>
<img src="desktop-live-install-guide_files/dl08.png" alt="encrypted-summary">
</p>
<p><strong><i>9) Select your geographic area</i>:</strong> You should now choose your geographic area from the list. This will allow you to accurately set your time zone.
</p>
<p>
<img src="desktop-live-install-guide_files/dl09.png" alt="tzdata">
</p>
<p><strong><i>10) Choose your time zone</i>:</strong> You can now choose your time zone based on your geographic area. This will be used to configure the system clock.
</p>
<p>
<img src="desktop-live-install-guide_files/dl10.png" alt="tzdata2">
</p>
<p><strong><i>11) Generate additional locales</i>:</strong> The UTF-8 locale will
be selected automatically, but you can choose to generate more according
to your preferences. A common choice would be ISO-8859-1 or
ISO-8859-15. If you're unsure, the defaults are safe and you can just
continue to the next step.
</p>
<p>
<img src="desktop-live-install-guide_files/dl11.png" alt="locales">
</p>
<p><strong><i>12) Set the default locale</i>:</strong> Now select which locale
that will be used. If you generated your own locales you probably want
to select one of them here, otherwise choose UTF-8.
</p>
<p>
<img src="desktop-live-install-guide_files/dl12.png" alt="locales2">
</p>
<p><strong><i>13) Set the keyboard type</i>:</strong> You should now let the
installer know how many keys your keyboard has. If you're not sure,
choose the default as this can always be changed from
your desktop after installation in complete.
</p>
<p>
<img src="desktop-live-install-guide_files/dl13.png" alt="keyboard">
</p>
<p><strong><i>14) Choose a keyboard layout</i>:</strong> Choose the keyboard
layout you want to use. This should usually be matched to your country
unless the layout is different for some reason.
</p>
<p>
<img src="desktop-live-install-guide_files/dl14.png" alt="keyboard2">
</p>
<p><strong><i>15) Set special keys</i>:</strong> Here you can set whether or
not the X server can be killed using a special key combination. If
Control, Alt and Backspace are pressed together from your desktop the X
server will be instantly killed.
</p>
<p>
<img src="desktop-live-install-guide_files/dl15.png" alt="keyboard3">
</p>
<p><strong><i>16.1) Set an encryption passphrase</i>:</strong> You should now
choose a passphrase for any encrypted partitions. You will be required to enter the same
password twice to confirm it. It is recommended to use a passphrase that
is at least 20 characters long, uses upper and lower case letters,
numbers and special characters.
</p>
<p>
<img src="desktop-live-install-guide_files/dl16.png" alt="confirm-partition">
</p>
<p><strong><i>16.2) Confirm the installation partition</i>:</strong> Here you will
be asked to confirm installation to the partition chosen earlier. If the
information matches your choices from earlier, enter Y and press return
to continue.
</p>
<p>
<img src="desktop-live-install-guide_files/dl16_002.png" alt="mke2fs">
</p>
<p><strong><i>17) Installing the system</i>:</strong> The installation has started on the partition you selected. This will take some time.
</p>
<p>
<img src="desktop-live-install-guide_files/dl17.png" alt="install-system">
</p>
<p><strong><i>18) Install bootloader</i>:</strong> The system has
been installed but before it can be booted you should choose to install a
bootloader. There is also the option to chroot the install for
<em>advanced</em> users.
</p>
<p><strong><i>18.1) BIOS install</i>:</strong> In amd64 install on BIOS, the first
button says 'Copy files'. That will install the <code>grub-pc</code> package and install the
bootloader. If you choose 'Chroot' you'll get a new terminal chrooted into the
installed system where you can make manual changes. This will bypass the
installation of the <code>grub-pc</code> package and the bootloader. If you want to mess around
in chroot and still let the installer add the bootloader, don't press this button.
Open another terminal and run <code>sudo chroot /target</code>.
</p>
<p>
<img src="desktop-live-install-guide_files/dl18.png" alt="install-bootloader-uefi">
</p>
<p><strong><i>18.2) UEFI install</i>:</strong> In an amd64 install on
UEFI, the first button says 'Install bootloader'. the correct grub
package is already installed and you don't need to choose a location for
the bootloader. It will go into the EFI partition. Check section 2.3
'Help' above to learn how to make a proper EFI partition. The installer
will complain if you don't have one.
</p>
<p>
<img src="desktop-live-install-guide_files/dl18_002.png" alt="install-bootloader-bios">
</p>
<p><strong><i>19) The GRUB bootloader</i>:</strong> On an amd64/BIOS install the
<code>grub-pc</code> package will now be installed This ensures that your system can
boot to the newly installed operating system. GRUB is the name of the
bootloader used here.
</p>
<p>
<img src="desktop-live-install-guide_files/dl19.png" alt="grub-pc">
</p>
<p><strong><i>20) Bootloader location</i>:</strong> In most cases GRUB should
be installed to the first disk from which the system will boot. In this case there is only one disk, indicated by <code>/dev/sda</code> so GRUB should be installed there.
</p>
<p>
<img src="desktop-live-install-guide_files/dl20.png" alt="grub-pc2">
</p>
<p><strong><i>21) Hostname and username</i>:</strong> Enter a unique hostname to
make it easier to identify this computer on a network without using
spaces. Choose any username that takes your fancy but spaces and
uppercase letters will not be accepted. In most cases there is no need
to enter your real name, so this can be omitted.
</p>
<p>
<img src="desktop-live-install-guide_files/dl21.png" alt="hostname-username">
</p>
<p><strong><i>22) Root password</i>:</strong> Now set a root password if
you haven't earlier in this installation. It's good security practise
to set a strong password here to protect the root account.
</p>
<p>
<img src="desktop-live-install-guide_files/dl22.png" alt="root-password">
</p>
<p><strong><i>23) User password</i>:</strong> Now create a user account password. You should create a password that isn't easy to guess.
</p>
<p>
<img src="desktop-live-install-guide_files/dl23.png" alt="user-password">
</p>
<p><strong><i>24) Finish</i>:</strong> If you see this, you must have done it right.
</p>
<p>
<img src="desktop-live-install-guide_files/dl24.png" alt="finished">
</p>
</div>
<div id="foot">
<ul class="inline">
<li><a href="https://beta.devuan.org/os/documentation/install-guides/beowulf/install-devuan.html">Classic install</a> | </li>
<li><a href="https://beta.devuan.org/os/documentation/install-guides/beowulf/full-disk-encryption.html">Classic disk encryption</a></li>
</ul>
<ul class="inline">
<li><a href="https://beta.devuan.org/os/documentation/install-guides/beowulf/live-gui.html">Live Desktop graphic install | </a></li>
<li><a href="https://beta.devuan.org/os/documentation/install-guides/beowulf/Release_notes_beowulf_3.0.0.txt">Devuan 3.0.0 Beowulf Release Notes</a></li>
<!-- <li><a href="live-cli.html">desktop-live cli install</a></li> -->
</ul>
<ul class="inline">
<li><a href="https://creativecommons.org/licenses/by-sa/4.0/">[Creative Commons Attribution-ShareAlike 4.0 International]</a></li>
</ul>
</div>
</body></html>

View File

@ -0,0 +1 @@
body{margin:0 1em 0 70px;font:normal 10pt sans-serif;color:black;background-image:none}.alt{display:none}.section{display:none}#logo{z-index:0}h1{z-index:100}em{color:#666}code{background-color:transparent;border:0}tt a{font-family:monospace;background-color:transparent;border:0}.toc li{border-bottom:0}#outer ul{line-height:1.2em}#intro{border-bottom:0}#breadcrumbs{font-weight:bold;border-bottom:0}#fineprint,#breadcrumbs{background:transparent}#fineprint{color:black;border-top:1px solid black}#fineprint p{line-height:1.5em}p a:link{background-image:url('../pics/dot_bw.gif');background-repeat:repeat-x;background-position:bottom left}a:link,a:visited,a:link:visited{color:black}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

View File

@ -0,0 +1 @@
html{height:100%}body{margin:0px 50px 0 50px;font:normal 16px sans-serif;background-color:white;background-image:url('../pics/gradient.png');background-position:top left;background-repeat:repeat-x;color:#33313B}#line{border-bottom:1px solid #C2540D;width:100%}#header{margin:0 50px 0 50px;padding:0}#upperheader{margin:0 0 0 50px;padding:0}#logo{position:absolute;top:0;left:40px}#intro{border-bottom:none}#mirrors #intro{margin:0;padding:0}#intro #splash{margin-top:70px;margin-bottom:0px;text-align:center}#devuan-img{margin-top:10px;clear:both;display:block}#intro p,.intro{margin-bottom:0.75em;padding:0;line-height:1.2em;text-align:left;font-size:118%}.alt{color:#C2540D;font-weight:bold;float:right}.toc{font-size:0.73em;list-style:none;margin:0 0 1em 0;line-height:1.5em}#mirrors .toc{border-top:1px solid #d3d6df}.toc li{border-bottom:1px solid #d3d6df;padding:3px 3px 3px 3px}.inline ul,.inline li{list-style-type:none;list-style-position:outside;display:inline}#maincol{clear:both}.clr{border-top:1px solid black}#foot{margin:25px 0px;padding-top:1em;text-align:center;border-top:1px solid #C2540D;clear:both}#footer{margin:0;clear:both}#maincol ul,#mailheader{text-indent:0;list-style-position:outside;margin:0.5em 0 1em 0;padding:0}ul{list-style-position:outside;list-style-type:circle;margin:0.5em 0 1em 2em;padding:0}ul ul,ul ul ul,ul ul ul ul{padding-left:1em}#breadcrumbs{font-size:0.68em;margin:0 0 0 0;padding:0.25em;background-color:#ffffff;text-transform:lowercase}.hidecss{display:none}#fineprint{width:100%;font-size:0.68em;color:#333;margin:2em 0 15px 0;padding:0.25em;background-color:#f2f3f7;border-top:1px solid #e2e3e7;text-transform:lowercase;text-align:center}#fineprint p{margin:0;line-height:1em}.nonvisual{display:none}.clear{clear:both}#clear{clear:both}img{border:0}#intro h1{margin:0 0 10px 0;line-height:0.8em}dd{margin:0 0 1em 1em}.section{font-family:monospace;font-size:0.9em;position:absolute;top:0px;left:120px;text-transform:uppercase;letter-spacing:0.08em;background-color:#696477;line-height:20px;color:white;padding:0 5px 0 5px;margin:0}.section em{font-style:normal;color:white}strong{font-weight:bold;font-size:1.3em}p{margin:1.2em 0 0.4em 0;line-height:1.5em;max-width:820px}em{color:#666}h1,h2,h3,h4,h5,h6{font-weight:normal}h1{font-size:218%;margin:0.5em 0 0.5em 0}h2{font-size:164%;margin:1em 0 0.25em 0}h3{font-size:145%}h4{font-size:118%}blockquote{margin:0}hr{background-color:#cdcdcd;height:1px;border:0;display:none}pre{font-family:monospace;font-size:0.73em;line-height:1.5em}th{text-align:left}blockquote{margin-left:1em;font-size:0.73em}code{background-color:#f2f3f7;border:1px solid #e2e3e7;padding:0 0.25em 0 0.25em;text-decoration:none}tt a{background-color:#FFFAF6;border:1px solid #eae9cb;padding:0 0.25em 0 0.25em;text-decoration:none}tt a:hover{background-color:transparent;border-color:transparent}dt{font-weight:bold;margin:0}dd{margin-left:1em}#mirrors h1{margin-top:70px;padding:0.25em 0 0 0;border-top:1px solid #c70036}#mirrors pre{font-size:0.75em}#mirrors td,#mirrors th{font-size:0.73em;padding-right:1em}#mirrors code{background:transparent;border:none}.small,#footer,#news,#security,.planet #sidebar,.planet .date,.wikitoc,.wiki #sidebar,.wiki #pageinfo.info,.wiki #spotlight{font-size:0.73em}a:link{color:#859920;text-decoration:none}a:link:hover{text-decoration:underline;color:#C2540D}a:visited{text-decoration:none;color:#9974BA}a:link:active{color:#C2540D;background-color:transparent}a.txt:link{color:#C2540D;text-transform:uppercase}a.txt:hover{color:#C2540D;text-transform:uppercase;text-decoration:underline}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,16 @@
# CONFIGURATION FILE FOR SETUPCON
# Consult the console-setup(5) manual page.
ACTIVE_CONSOLES="/dev/tty[1-6]"
CHARMAP="UTF-8"
CODESET="Lat15"
FONTFACE="VGA"
FONTSIZE="8x16"
VIDEOMODE=
# The following is an example how to use a braille font
# FONT='lat9w-08.psf.gz brl-8x8.psf'

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,3 @@
# On linux systems, disable autospawn by default
# If you are not using systemd, comment out this line
#autospawn=no

View File

@ -0,0 +1,21 @@
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
[ -d /etc/boot.d ] && run-parts /etc/boot.d
# re-run eudev to detect hardware when booting from optical media.
/etc/init.d/eudev stop && /etc/init.d/eudev start
dpkg-reconfigure iputils-ping # Enable ping for user.
exit 0

View File

@ -0,0 +1 @@
firmware-amd-graphics firmware-atheros firmware-b43-installer firmware-b43legacy-installer firmware-bnx2 firmware-bnx2x firmware-brcm80211 firmware-intelwimax firmware-ipw2x00 firmware-iwlwifi firmware-libertas firmware-linux-nonfree firmware-misc-nonfree firmware-myricom firmware-netxen firmware-qlogic firmware-ralink firmware-realtek firmware-ti-connectivity firmware-zd1211

View File

@ -0,0 +1,12 @@
[Desktop Entry]
Name=Installer Guide
Comment=Installer instructions
Exec=/usr/lib/firefox-esr/firefox-esr /run/live/medium/docs/desktop-live-install-guide.html
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/usr/share/pixmaps/beo-gdo-32dk.png
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=Firefox-esr
StartupNotify=true

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=LARGER FONTS
Comment=Increase desktop font size
Exec=/usr/bin/adjfontsize +
Icon=preferences-desktop-accessibility-symbolic
Path=
Terminal=false
StartupNotify=false

View File

@ -1,22 +1,24 @@
DEVUAN ASCII DESKTOP-LIVE
DEVUAN BEOWULF DESKTOP-LIVE
This is Devuan 2.0 ASCII desktop-live edition. It contains the same package
selection as the default desktop in the regular installer isos, with the
addition of a few packages for the live system, wireless firmware, a
live-cd installer and remastering tool to make your own live-CD/DVD image.
This is Devuan 3 (Beowulf) desktop-live.
It contains the same package selection as the default desktop in the
regular installer isos, with the addition of a few packages for the live
system, wireless firmware, a live-cd installer and remastering tool to
make your own live-CD/DVD image.
You can burn the iso to DVD or use dd or cat to image a USB thumb drive.
User name: devuan Password: devuan
Admin name: root Password: toor
maintained by fsmithred (key id 0xA73823D3094C5620 on pgp.mit.edu)
built with the Devuan SDK, live-sdk module
Maintained by fsmithred (key id 0xA73823D3094C5620 on pgp.mit.edu)
Built with the Devuan SDK, live-sdk module
Contents
CONTENTS
1. Set language/locale at boot.
2. Wireless (non-free) firmware
3. Install to hard drive
@ -24,7 +26,6 @@ Contents
5. Bug reports and support links.
BOOT TO ANOTHER LANGUAGE
Choose the "Other language" option from the boot menu.
@ -36,8 +37,6 @@ Note: When you install the system, your chosen language will be the
default in the installed system.
WIRELESS (NON-FREE) FIRMWARE
To set up wireless networking, use wicd network manager or run setnet.sh
@ -52,17 +51,34 @@ through Synaptic Package Manager in the System menu.
You can remove all the non-free firmware after you reboot into the new
installation by running (as root or with sudo):
remove-non-free-firmware
/root/remove_firmware.sh
If you need to reinstall a firmware package, they are located in /firmware
and can be installed with:
dpkg -i <package-name>
dpkg -i <package-name>
Here is the full list of non-free wireless firmware packages installed:
firmware-atheros firmware-bnx2 firmware-bnx2x firmware-brcm80211 firmware-intelwimax firmware-iwlwifi firmware-libertas firmware-linux-nonfree firmware-myricom firmware-netxen firmware-qlogic firmware-realtek firmware-ti-connectivity firmware-zd1211
Here is the full list of non-free firmware packages installed:
firmware-amd-graphics
firmware-atheros
firmware-bnx2
firmware-bnx2x
firmware-brcm80211
firmware-intelwimax
firmware-iwlwifi
firmware-libertas
firmware-linux-nonfree
firmware-misc-nonfree
+firmware-myricom
+firmware-netxen
firmware-qlogic
firmware-ralink
firmware-realtek
firmware-ti-connectivity
firmware-zd1211
@ -92,8 +108,10 @@ and installed or if you would like to proceed without a bootloader.
If your hardware needs a 32-bit uefi bootloader with a 64-bit operating
system, install the grub-efi-ia32 package before running the installer.
This is true for both graphical and cli installers.
dpkg -i /grub-efi-ia32
Note: UEFI implementations in motherboards vary in their adherence to
standards from one manufacturer to the next. Read the Help in the
installer, read the additional links in the help, and be prepared to do
@ -109,11 +127,11 @@ read these before installing!
You can also start the installer from a root terminal (or with sudo):
refractainstaller # Starts the text-only installer.
refractainstaller-yad # Starts the graphical installer.
You can encrypt the filesystem if desired. (root filesystem and /home).
The installer will use an existing swap partition. If there is no swap
partition or if you un-check that option, the installer will create a
@ -127,7 +145,6 @@ If you want to install on uefi hardware with an installer that has had more exte
use one of the regular installer isos.
REMASTERING (Make your own live-CD/DVD/USB)
Run Refracta Snapshot from the applications menu or refractasnapshot-gui
@ -139,16 +156,12 @@ iso that can be burned to optical disk or imaged to a usb stick.
See /usr/share/doc/refractasnapshot-base/README.gz for details.
BUG REPORTS AND SUPPORT LINKS
Comments, suggestions, criticisms, and bug reports are welcome.
Please report bugs on the official Devuan Bug Tracking System:
http://bugs.devuan.org
Full list of community links can be found at:
https://devuan.org/os/community
https://bugs.devuan.org
Support:
IRC Channel on freenode.net: #devuan

View File

@ -0,0 +1,350 @@
# Devuan 3 Beowulf Release Notes
## Index
- Introduction
- What's new in this release
- Getting Devuan 3 Beowulf
- Upgrading to Devuan 3 Beowulf
- Devuan Package Repositories
- Non-free firmware
- About eudev
- Session management and policykit backends
- Workarounds for known lightdm issues/bugs
- About LXDE
- Starting X from a terminal
- Devuan package information pages
- Reporting bugs
### Introduction
This document includes technical notes relevant to Devuan 3 Beowulf.
More information and support on specific issues can be obtained by:
- subscribing to the DNG mailing list:
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
- visiting the Devuan user forum:
https://dev1galaxy.org
- shouting (but not too loudly) on one of the Devuan IRC channels:
#devuan (freenode) - general discussion about Devuan
#devuan-arm (freenode) - specific support for ARM
- checking the Debian Buster release notes to learn about changes in
the packages that Devuan does not alter.
https://www.debian.org/releases/buster/releasenotes
### What's new in this release
Changes in su
- The behavior of su has changed. Use 'su -' to get root's path or use
the full path to commands if you use only 'su'.
- There are several ways to get the old behavior. The easiest is to
edit /etc/default/su to add the line:
ALWAYS_SET_PATH yes
See the following for more information:
https://www.debian.org/releases/buster/amd64/release-notes/ch-information.en.html#su-environment-variables
https://wiki.debian.org/NewInBuster
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905564
Pulseaudio
- If you have no sound, make sure the following line in
/etc/pulse/client.conf.d/00-disable-autospawn.conf is commented as
shown here:
#autospawn=no
Boot menu says "Debian" instead of "Devuan"
- The default setup results in the grub menu showing 'Debian' instead
of 'Devuan'. On UEFI hardware, this will work with secure boot.
To change it, you can edit /etc/os-release to show ID=devuan or edit
/etc/default/grub to GRUB_DISTRIBUTOR="Devuan". Then run update-grub
to generate a new boot menu.
- Note: If you're booting UEFI mode, you will also need to remove
grub-efi-amd64-signed and just use grub-efi-amd64. You will not be
able to use secure boot this way.
### Getting Devuan 3 Beowulf
Devuan 3 Beowulf is available for i386, amd64, armel, armhf, arm64 and
ppc64el platforms. Installer isos and live CDs can be downloaded at:
http://files.devuan.org/devuan_beowulf/
Please consider using one of the many mirrors, listed at:
https://devuan.org/get-devuan
Detailed instructions on how to use each image are available in the
corresponding 'README.txt' file. The SHA256SUMS of each set of images
is signed by the developer in charge of the build. The fingerprints of
GPG keys of all Devuan developers are listed at:
https://devuan.org/os/team
In order to check that the images you downloaded are genuine and not
corrupted, you should:
- download the image(s)
- download the corresponding SHA256SUMS and SHA256SUMS.asc files
in the same folder
- verify the checksums running:
$ sha256sum -c SHA256SUMS
(it could complain about missing files, but should show an "OK"
close to the images you have actually downloaded)
- verify the signature running:
$ gpg --no-default-keyring --keyring ./devuan-devs.gpg --verify SHA256SUMS.asc
(we assume that you have put the GPG keys in the keyring named
"devuan-devs.gpg". YMMV)
The 'devuan-devs.gpg' keyring is provided only for convenience. The
most correct procedure to verify that the signatures are authentic is
by downloading the relevant public keys from a trusted keyserver,
double-check that the fingerprint of the key matches that of the
developer reported on https://devuan.org/os/team and then use that key
for verification.
### Upgrading to Devuan 3 Beowulf
Direct and easy upgrade path from Devuan ASCII and migration path
from Debian Buster to Devuan 3 Beowulf are available here:
https://devuan.org/os/install
If you are already on Beowulf, just run this command to get to the
current release version:
apt-get update && apt-get dist-upgrade
### Devuan Package Repositories
Thanks to the support of many volunteers and donors, Devuan has
a network of package repository mirrors. The mirror network is
accessible using the FQDN "deb.devuan.org".
Starting from Devuan 2.0 ASCII, users should use exclusively
"deb.devuan.org" in their 'sources.list' file, e.g.:
deb http://deb.devuan.org/merged beowulf main
deb http://deb.devuan.org/merged beowulf-security main
deb http://deb.devuan.org/merged beowulf-updates main
deb http://deb.devuan.org/devuan beowulf-proposed main
Along with the above addresses, the repositories are also accessible
using the Tor network, by using our hidden service address:
deb tor+http://devuanfwojg73k6r.onion/merged beowulf main
deb tor+http://devuanfwojg73k6r.onion/merged beowulf-security main
deb tor+http://devuanfwojg73k6r.onion/merged beowulf-updates main
deb tor+http://devuanfwojg73k6r.onion/devuan beowulf-proposed main
More information is available at:
https://devuan.org/os/packages
All the mirrors contain the full Devuan package repository (all the
Devuan releases and all the suites). They are synced every 30 minutes
from the main Devuan package repository ("pkgmaster.devuan.org") and
are continuously checked for sanity, integrity, and consistency. The
package repository network is accessed through a DNS Round-Robin.
An up-to-date list of mirrors in the network is available at:
http://pkgmaster.devuan.org/mirror_list.txt
Users can directly access a mirror using the corresponding BaseURL.
IMPORTANT NOTE: The package mirrors at "deb.devuan.org" are signed
with the following GPG key:
pub rsa4096 2017-09-04 [SC] [expires: 2022-09-03]
E032601B7CA10BC3EA53FA81BB23C00C61FC752C
uid [ unknown] Devuan Repository (Amprolla3 on Nemesis
<repository@devuan.org>)
sub rsa4096 2017-09-04 [E] [expires: 2022-09-03]
The key is included in the package "devuan-keyring". In order to use
deb.devuan.org, you must have `devuan-keyring_2017.10.03` or later.
IMPORTANT NOTE: Devuan plans to eventually discontinue the original set
of Devuan mirrors available at auto.mirror.devuan.org and
{CC}.mirror.devuan.org. As a consequence, users are strongly
encouraged to use the new set of mirrors at "deb.devuan.org".
### Non-free firmware
All Devuan 3 Beowulf install media make non-free firmware packages
available at install time. These are only installed if your networking
hardware requires them in order to function. You can avoid the
automatic installation of non-free firmware by selecting the
"Expert install" option in the installation menu.
Devuan 3 Beowulf desktop-live and minimal-live images come with
non-free firmware packages pre-installed. You can remove these packages
after boot using the "remove_firmware.sh" script available under /root.
### About eudev
Following the inclusion of udev (a daemon in charge of device
management) in the systemd code tree, Devuan 3 Beowulf provides the
alternative "eudev" package. The transition from udev to eudev is
managed through transitional packages and should be automatic and
seamless.
### Session management and policykit backends
Devuan 3 Beowulf provides a choice of 5 Desktop Environments at
install time: Xfce, Cinnamon, KDE, LXQt, and MATE. Other desktop
environments and window managers are available from the repositories
post-install.
Desktop Environments rely on a session management system to allow the
user to perform certain tasks without requiring administrator
privileges such as suspending/rebooting/shutting down the system,
mounting external devices, configuring networking, and so on.
Two session management systems are available in Devuan Beowulf:
- consolekit
- logind (elogind and libpam-elogind)
These session managers are mutually exclusive; only one of them can be
installed and active at a time to avoid unwanted interference. In order
to grant processes in the unprivileged user session access to select
privileged operations the installed session manager is connected to the
policykit-1 framework by a set of matching back-end libraries.
The default session manager for all desktops is logind (libpam-elogind).
Xfce and Cinnamon will work with either logind or consolekit. The other
desktop environments will only work with logind.
In order for session management to work correctly the login manager
(aka display manager, DM) needs to register the user session with the
installed session manager (either consolekit or logind) which in turn
must coordinate with the relevant components of the desktop environment.
Both slim and lightdm will work with either libpam-elogind or consolekit.
Slim is the default login manager for Xfce. Lightdm is the default for
the other desktops.
### Workarounds for known lightdm issues/bugs
lightdm prevents some accessibility features from working and gives the
error, "Couldn't register with accessiblity bus" in ~/.xsession-errors.
(See Debian bug [#760740](https://bugs.debian.org/760740))
This can be mitigated in the current X session by running:
xprop --root --remove AT_SPI_BUS
For a persistent solution edit /etc/lightdm/lightdm.conf to add:
xserver-share=false
Power buttons are disabled on the lightdm login screen with elogind.
(See Debian bug [#932047](https://bugs.debian.org/932047))
Add the following line to /etc/pam.d/lightdm-greeter
session optional pam_elogind.so
### About LXDE
LXDE is not presented as a choice during installation but can be added
after booting into the new system. Note that there is a bug in lxsession
that requires LXDE be installed without Recommends. (Debian bug #952679)
apt --no-install-recommends install lxde
### Starting X from a terminal
In Devuan 3 Beowulf, the X server can now be run without root
privileges. As a result, some additional requirements must be met when
launching X directly from a TTY (e.g., with 'xinit' or 'startx')
especially on systems upgraded from Devuan Jessie.
In Devuan 3 Beowulf it is sufficient to install 'elogind' and
'libpam-elogind', and then use either 'startx' or 'xinit' as usual
from a regular user account. In this case, the Xorg log file will be
available under '~/.local/share/xorg/'.
The system still needs to support Kernel Mode Setting (KMS).
Therefore, this solution may not work in some virtualization
environments (e.g., virtualbox) or if the kernel has no driver that
supports your GPU.
Alternatively, it is still possible to run X with setuid root. In this
case, you need to install `xserver-xorg-legacy` and ensure that the
file '/etc/X11/Xwrapper.config' contains the (uncommented) line:
needs_root_rights=yes
### Devuan package information pages
Devuan has a simple service to display information about all the
packages available in Devuan. It can be accessed at:
https://pkginfo.devuan.org
It is possible to search for package names matching a set of keywords
and to see the description, dependencies, suggestions and
recommendations of each package. Please report any issues with this
service and/or get in touch if you have suggestions for how to
improve it.
### Reporting bugs
No piece of software is perfect. And acknowledging this fact is the
first step towards improving our software base.
Devuan strongly believes in the cooperation of the community to find,
report and solve issues. If you think you have found a bug in a
Devuan package, please report it to:
https://bugs.devuan.org
The procedure to report bugs is quite simple: just install and run
`reportbug`, a tool that will help you to compile the bug report and to
include any relevant information for the maintainers.
`reportbug` assumes than you have a properly configured Mail User
Agent that can send emails. If this is not the case, you can still
prepare your bug report with `reportbug`, save it (by default reportbug
will save the report under /tmp) and then use it as a template for an
email to submit@bugs.devuan.org.
(NOTE: Devuan does not provide an open SMTP relay for `reportbug`
yet. If you don't know what this is about, you can safely ignore this
information.)
When the bug report is processed, you will receive a confirmation email
containing the number assigned to the report.
Before reporting a bug, please check whether the very same problem has
already been reported by other users.
`reportbug` is a tool made by Debian for Debian, over a timespan of
about 25 years. As a result it is sometimes difficult to adapt it
to a new setup. We are currently working to improve the integration of
reportbug with Devuan's infrastructure and to improve the management,
triaging and reporting of bugs. Please bear with us ;^)

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=SMALLER FONTS
Comment=Decrease desktop font size
Exec=/usr/bin/adjfontsize -
Icon=preferences-desktop-accessibility-symbolic
Path=
Terminal=false
StartupNotify=false

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Install Devuan
Comment= Install from a live CD to your system.
Exec=/usr/bin/refractainstaller-wrapper.sh
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/beo-gdo-32dk.png
Categories=GNOME;GTK;System;

View File

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# remove_non-free_firmware
apt-get --purge --yes remove \
firmware-amd-graphics \
firmware-atheros \
firmware-bnx2 \
firmware-bnx2x \
firmware-brcm80211 \
firmware-intelwimax \
firmware-iwlwifi \
firmware-libertas \
firmware-linux-nonfree \
firmware-misc-nonfree \
firmware-myricom \
firmware-netxen \
firmware-qlogic \
firmware-ralink \
firmware-realtek \
firmware-ti-connectivity \
firmware-zd1211
apt-get autoremove
exit 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,7 @@
#!/bin/sh
sed -i '/dpkg.*ping/d' /target/etc/rc.local
sed -i '/eudev/d' /target/etc/rc.local
exit 0

View File

@ -6,8 +6,8 @@ arrs+=(custom_deb_packages)
blend_name="devuan-desktop-live_"
release="ascii"
release="beowulf"
version="3.0.0"
username="devuan"
userpass="devuan"
@ -23,6 +23,8 @@ efi_work="$BLENDPATH/${release}/efi-files"
#grubversion="grub-pc"
grubversion="grub-efi-amd64"
# Uncomment for amd64
base_packages+=(grub-efi-amd64-bin grub-efi-ia32-bin)
mirror="http://pkgmaster.devuan.org/merged"
section="main contrib non-free"

View File

@ -34,8 +34,10 @@ blend_preinst() {
add-user $username $userpass
notice "copying blend-specific debs"
cp -fv "$blend_release_path"/*.deb "$R/extra/custom-packages"
if [[ -e "${blend_release_path}/custom_debs/*.deb" ]] ; then
notice "copying blend-specific debs"
cp -fv "$blend_release_path"/custom_debs/*.deb "$R/extra/custom-packages"
fi
}
blend_postinst() {
@ -53,11 +55,52 @@ blend_postinst() {
install-custdebs || zerr
pushd "$strapdir"
sudo rsync -avx --no-o --no-g "$blend_release_path"/rootfs-overlay/* . || zerr
# add some basic files to /dev
sudo mknod -m 622 dev/console c 5 1
sudo mknod -m 666 dev/null c 1 3
sudo mknod -m 666 dev/zero c 1 5
sudo mknod -m 666 dev/ptmx c 5 2
sudo mknod -m 666 dev/tty c 5 0
sudo mknod -m 444 dev/random c 1 8
sudo mknod -m 444 dev/urandom c 1 9
sudo chown -v root:tty dev/{console,ptmx,tty}
sudo ln -sv /proc/self/fd dev/fd
sudo ln -sv /proc/self/fd/0 dev/stdin
sudo ln -sv /proc/self/fd/1 dev/stdout
sudo ln -sv /proc/self/fd/2 dev/stderr
sudo ln -sv /proc/kcore dev/core
sudo mkdir -v dev/shm
sudo mkdir -v dev/pts
sudo chmod 1777 dev/shm
popd
blend_finalize || zerr
}
# Set lvm not to use udev in initramfs to avoid boot delays.
# (e.g. "device not in udev database even after waiting...")
edit_initramfs () {
fn edit_initramfs
req=(workdir)
ckreq || return 1
echo "Editing lvm.conf in the initramfs."
[[ -d "$workdir"/extracted ]] || mkdir "$workdir"/extracted
pushd "$workdir"/extracted
sudo bash -c 'zcat ${workdir}/binary/live/initrd.img | cpio -i'
sudo sed -i 's/multipath_component_detection = 1/multipath_component_detection = 0/' etc/lvm/lvm.conf
sudo sed -i 's/md_component_detection = 1/md_component_detection = 0/' etc/lvm/lvm.conf
sudo sed -i 's/udev_sync = 1/udev_sync = 0/' etc/lvm/lvm.conf
sudo sed -i 's/udev_rules = 1/udev_rules = 0/' etc/lvm/lvm.conf
sudo sed -i 's/udevadm/sleep 5 \&\& udevadm/' scripts/init-bottom/udev
sudo find . -print0 | cpio -0 -H newc -o | gzip -c > "$workdir"/binary/live/initrd.img | tee -a ${workdir}/mylog
popd
}
iso_write_isolinux_cfg() {
fn iso_write_isolinux_cfg "(override)"
req=(workdir arch username)
@ -71,35 +114,39 @@ prompt 0
menu title devuan-live boot menu
timeout 70
menu background /isolinux/splash.png
menu color title * #FFFFFFFF *
menu color border * #00000000 #00000000 none
menu color sel * #ffffff #44424E *
menu color hotsel 1;7;37;40 #dad9dc #44424E *
menu color tabmsg * #dad9dc #00000000 *
menu color cmdline 0 #dad9dc #00000000
menu tabmsg Press ENTER to boot or TAB to edit a menu entry
menu color title * #C6C2C2 *
menu color border * #00000000 #00000000 none
menu color sel * #ffffffff #5F1A1A *
menu color hotsel 1;7;37;40 #ffffffff #401111 *
menu color tabmsg * #D4D0D0 #00000000 *
menu color cmdline 0 #D4D0D0 #00000000
menu vshift 12
menu rows 12
# The command line must be at least one line from the help line.
menu cmdlinerow 16
menu timeoutrow 16
menu tabmsgrow 18
menu tabmsg Press ENTER to boot or TAB to edit a menu entry
label live
menu label ${os}-live (${arch})
menu default
linux /live/vmlinuz
append initrd=/live/initrd.img boot=live username=${username}
append initrd=/live/initrd.img boot=live username=${username} apparmor=0
label lang
menu label Other language (TAB to edit)
linux /live/vmlinuz
append initrd=/live/initrd.img boot=live username=${username} locales=it_IT.UTF-8 keyboard-layouts=it
append initrd=/live/initrd.img boot=live username=${username} apparmor=0 locales=it_IT.UTF-8 keyboard-layouts=it
label toram
menu label ${os}-live (${arch}) (load to RAM)
linux /live/vmlinuz
append initrd=/live/initrd.img boot=live username=${username} toram
append initrd=/live/initrd.img boot=live username=${username} apparmor=0 toram
label failsafe
menu label ${os}-live (${arch}) (failsafe)
kernel /live/vmlinuz noapic noapm nodma nomce nolapic nosmp nomodeset vga=normal
kernel /live/vmlinuz noapic noapm nodma nomce nolapic nosmp nomodeset vga=normal username=${username} apparmor=0
append initrd=/live/initrd.img boot=live
label memtest
@ -112,6 +159,9 @@ EOF
notice "copying isolinux overlay"
sudo mkdir -p "$workdir"/binary/{live,isolinux}
sudo cp -rav "$blend_release_path"/isolinux-overlay/* "$workdir"/binary/isolinux/
sudo cp -av "$blend_release_path"/live-overlay/* "$workdir"/binary/live/
sudo cp -av "$blend_release_path"/docs "$workdir"/binary/
edit_initramfs
# [[ -n "$hookscripts" ]] && {
# sudo cp -av "$blend_release_path"/hooks "$workdir"/binary/live/
# }
@ -230,10 +280,8 @@ EOF
sudo rsync -avx "$efi_work"/boot binary/
sudo rsync -avx "$efi_work"/efi binary/
popd
}
iso_write_grub_cfg() {
fn iso_write_grub_cfg "(override)"
req=(workdir arch username)
@ -262,30 +310,30 @@ set timeout=6
menuentry "${os}-live (${arch})" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username
linux /live/vmlinuz boot=live username=$username apparmor=0
initrd /live/initrd.img
}
menuentry "Other language" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username locales=it_IT.UTF-8 keyboard-layouts=it
linux /live/vmlinuz boot=live username=$username apparmor=0 locales=it_IT.UTF-8 keyboard-layouts=it
initrd /live/initrd.img
}
menuentry "${os}-live (load to RAM)" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username toram
linux /live/vmlinuz boot=live username=$username apparmor=0 toram
initrd /live/initrd.img
}
menuentry "${os}-live (failsafe)" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username noapic noapm nodma nomce nolapic nosmp vga=normal
linux /live/vmlinuz boot=live username=$username apparmor=0 noapic noapm nodma nomce nolapic nosmp vga=normal
initrd /live/initrd.img
}
menuentry "Memory test" {
linux /live/memtest
linux16 /live/memtest86+.bin
}
EOF
@ -323,6 +371,8 @@ rm -f /splash.png
rm -f /etc/fstab
rm -f /etc/popularity-contest.conf
rm -f /vmlinuz.old
rm -f /initrd.img.old
# For ascii if no display manager is used. Maybe this should have a
# contitional that's turned on/off in the config?
@ -332,14 +382,31 @@ rm -f /etc/popularity-contest.conf
sed -i 's/contrib//g' /etc/apt/sources.list
sed -i 's/non-free//g' /etc/apt/sources.list
## package list - Why does this make an empty file?
#dpkg -l | awk '/^ii/ { print $2 " " $3 }' > /home/${username}/package_list
#printf "\nGo to files.devuan.org\n" >> /home/${username}/package_list
# for amd64 only at this time
if ls /boot | grep amd64 ; then
apt-get download grub-pc
apt-get download grub-efi-ia32
fi
##### this should be temporary
#if dpkg -l lightdm ; then
# apt-get -y --purge remove lightdm lightdm-gtk-greeter liblightdm-gobject-1-0
# echo "Removed lightdm" > /home/devuan/which_dm
#fi
#if dpkg -l grub-efi-amd64-signed ; then
# apt-get -y remove grub-efi-amd64-signed
#fi
## package list
dpkg -l | awk '/^ii/ { print \$2 " " \$3 }' > /home/${username}/package_list
# Enable encryption (e.g. for live-usb with persistence)
#sed -i 's/#CRYPTSETUP=/CRYPTSETUP=y/' /etc/cryptsetup-initramfs/conf-hook
CRYPTSETUP=y update-initramfs -u -k all
# Change sources.list to use deb.devuan.org
sed -i 's/pkgmaster/deb/g' /etc/apt/sources.list
apt-get update
apt-get clean
updatedb

View File

@ -0,0 +1,46 @@
#!/usr/bin/env zsh
## configuration file for devuan-minimal-live blend
vars+=(username userpass default_shell mkefi grubversion hookscripts)
arrs+=(custom_deb_packages)
blend_name="devuan-minimal-live_"
release="ascii"
username="devuan"
userpass="devuan"
default_shell="/bin/bash"
# comment to disable:
#hookscripts="yes"
# uncomment to create uefi-bootable iso
#mkefi="yes"
#efi_work="$BLENDPATH/efi-files"
#grubversion="grub-pc"
#grubversion="grub-efi-amd64"
##release="ascii"
mirror="http://pkgmaster.devuan.org/merged"
section="main contrib non-free"
base_packages_option=(--no-install-recommends)
extra_packages_option=(--no-install-recommends)
release_conf="$BLENDPATH/$release/config"
### package sets are defined in the corresponding $release/config file
source $release_conf
## image_name depends on release and version
image_name="${os}_${release}_${version}_${arch}_minimal"

View File

@ -0,0 +1,390 @@
#!/usr/bin/env zsh
# Copyright (c) 2017 Dyne.org Foundation
# live-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of live-sdk
# devuan-minimal-live.blend is maintained by KatolaZ <katolaz@freaknet.org>
#
# This source code is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this source code. If not, see <http://www.gnu.org/licenses/>.
BLENDPATH="${BLENDPATH:-$(dirname $0)}"
source $BLENDPATH/config
blend_release_path=$BLENDPATH/$release/
blend_scripts=${blend_release_path}/scripts
###source $BLENDPATH/$release/devuan-minimal-live.release
blend_preinst() {
fn blend_preinst
req=(blend_name username userpass)
ckreq || return 1
notice "executing $blend_name preinst"
add-user $username $userpass
notice "copying blend-specific debs into $R/extra/custom-packages"
## No more custom-packages
cp -fv "$blend_release_path"/custom_debs/*.deb "$R/extra/custom-packages"
}
blend_postinst() {
fn blend_postinst
req=(strapdir blend_name)
ckreq || return 1
notice "executing $blend_name postinst"
# [[ "$mkefi" = "yes" ]] && {
# iso_make_efi
# iso_write_grub_cfg
# }
## TODO: ENABLE THIS
install-custdebs || zerr
pushd "$strapdir"
sudo rsync -avx --no-o --no-g "$blend_release_path"/rootfs_overlay/* . || zerr
sudo chmod 755 etc/init.d/boot_beep
popd
blend_finalize || zerr
}
iso_write_isolinux_cfg() {
fn iso_write_isolinux_cfg "(override)"
req=(workdir arch username)
ckreq || return 1
notice "copying isolinux overlay"
sudo mkdir -p "$workdir"/binary/{live,isolinux}
sudo cp -rav "$blend_release_path"/isolinux_overlay/* "$workdir"/binary/isolinux/
#[[ -n "$hookscripts" ]] && {
# sudo cp -av "$BLENDPATH"/hooks "$workdir"/binary/live/
#}
}
# create /boot and /efi for uefi.
# uefi code borrowed and adapted from David Hare, who borrowed and adapted it
# from similar scripts by Colin Watson and Patrick J. Volkerding.
iso_make_efi() {
fn iso_make_efi
req=(workdir efi_work)
ckreq || return 1
notice "creating efi boot files"
tempdir="$(mktemp -d /tmp/work_temp.XXXX)"
# for initial grub.cfg
mkdir -p "$tempdir"/boot/grub
cat >"$tempdir"/boot/grub/grub.cfg <<EOF
search --file --set=root /isolinux/isolinux.cfg
set prefix=(\$root)/boot/grub
source \$prefix/x86_64-efi/grub.cfg
EOF
mkdir -p "$efi_work"
pushd "$efi_work"
# start with empty directories.
rm -rf boot; mkdir -p boot/grub/x86_64-efi
rm -rf efi ; mkdir -p efi/boot
# second grub.cfg file
for i in $(find $strapdir/usr/lib/grub/x86_64-efi -name 'part_*.mod'); do
print "insmod $(basename $i)" >> boot/grub/x86_64-efi/grub.cfg
done
# Additional modules so we don't boot in blind mode.
# I don't know which ones are really needed.
efimods=(
efi_gop
efi_uga
ieee1275_fb
vbe
vga
video_bochs
video_cirrus
jpeg
png
gfxterm
)
for i in $efimods; do
print "insmod $i" >> boot/grub/x86_64-efi/grub.cfg
done
print "source /boot/grub/grub.cfg" >> boot/grub/x86_64-efi/grub.cfg
pushd "$tempdir"
# make a tarred "memdisk" to embed in the grub image
tar -cvf memdisk boot
# make the grub image
grub-mkimage -O "x86_64-efi" -m "memdisk" -o "bootx64.efi" \
-p '(memdisk)/boot/grub' \
search iso9660 configfile normal memdisk tar cat \
part_msdos part_gpt fat ext2 ntfs ntfscomp hfsplus \
chain boot linux
popd
# copy the grub image to efi/boot (to go later in the device's root)
cp "$tempdir"/bootx64.efi efi/boot
# Do the boot image "boot/grub/efiboot.img"
dd if=/dev/zero of=boot/grub/efiboot.img bs=1K count=1440
mkfs.vfat -F 12 boot/grub/efiboot.img
sudo mkdir img-mnt
sudo mount -o loop boot/grub/efiboot.img img-mnt
sudo mkdir -p img-mnt/efi/boot
sudo cp "$tempdir"/bootx64.efi img-mnt/efi/boot/
# copy modules and font
cp $strapdir/usr/lib/grub/x86_64-efi/* boot/grub/x86_64-efi/
# if this doesn't work try another font from the same place (grub's default, unicode.pf2, is much larger)
# Either of these will work, and they look the same to me. Unicode seems to work with qemu. -fsr
# cp /usr/share/grub/ascii.pf2 boot/grub/font.pf2
cp $strapdir/usr/share/grub/unicode.pf2 boot/grub/font.pf2
# copy splash
sudo cp -rav "$blend_release_path"/isolinux_overlay/splash.png boot/grub/splash.png
# Cleanup efi temps
sudo umount img-mnt
sudo rmdir img-mnt
rm -rf "$tempdir"
popd
# Copy efi files to iso
pushd $workdir
sudo rsync -avx "$efi_work"/boot binary/
sudo rsync -avx "$efi_work"/efi binary/
popd
}
## UNUSED
iso_write_grub_cfg() {
fn iso_write_grub_cfg "(override)"
req=(workdir arch username)
ckreq || return 1
notice "writing grub configuration"
# Do the main grub.cfg (which gets loaded last):
cat <<EOF | sudo tee ${workdir}/binary/boot/grub/grub.cfg
if loadfont $prefix/font.pf2 ; then
set gfxmode=640x480
insmod efi_gop
insmod efi_uga
insmod video_bochs
insmod video_cirrus
insmod gfxterm
insmod jpeg
insmod png
terminal_output gfxterm
fi
background_image /boot/grub/splash.png
set menu_color_normal=white/black
set menu_color_highlight=dark-gray/white
set timeout=6
menuentry "${os}-live (${arch})" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username
initrd /live/initrd.img
}
menuentry "Other language" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username hooks=file:///lib/live/mount/medium/live/hooks/fix-lang.sh locales=it_IT.UTF-8
initrd /live/initrd.img
}
menuentry "${os}-live (load to RAM)" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username toram
initrd /live/initrd.img
}
menuentry "${os}-live (failsafe)" {
set gfxpayload=keep
linux /live/vmlinuz boot=live username=$username noapic noapm nodma nomce nolapic nosmp vga=normal
initrd /live/initrd.img
}
menuentry "Memory test" {
linux /live/memtest
}
EOF
}
## put the "create_initrd.sh" script
##func
put_create_initrd(){
sudo cp ${blend_scripts}/create_initrd.sh ${strapdir}/ >/dev/null
## Now we make it executable
sudo chmod 755 ${strapdir}/create_initrd.sh
}
## put the "finalize" script, that does the final work
## func
put_finalize(){
cat <<EOF | sudo tee ${strapdir}/finalize >/dev/null
#!/bin/sh
## permissions
for i in cdrom floppy audio dip video plugdev netdev lpadmin scanner; do
gpasswd -a ${username} \$i
done
chsh -s "${default_shell}" ${username}
chown -R 1000:1000 /home/${username}
# Not sure if this has been fixed (in devuan-baseconf?)
mv /data/etc/apt/apt.conf.d/05disable-suggests /etc/apt/apt.conf.d/
rm -rf /data
rm -f /etc/fstab
rm -f /etc/popularity-contest.conf
rm -f /var/lib/dbus/machine-id
# For ascii if no display manager is used. Maybe this should have a
# contitional that's turned on/off in the config?
# echo "needs_root_rights=yes" >> /etc/X11/Xwrapper.config
# Disable contrib and non-free after installing firmware.
sed -i 's/ contrib//g' /etc/apt/sources.list
sed -i 's/ non-free//g' /etc/apt/sources.list
## Disable updates
sed -i '/-updates/s/^/## /g' /etc/apt/sources.list
## replace pkgmaster with deb.devuan.org
sed -i 's/pkgmaster/deb/g'
## insert service boot_beep
insserv boot_beep
## Configure framebuffer
setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
chmod u+s /usr/bin/fbterm
## Make initramfs
SLIM_INITRD=initrd_devuan.img
MICRO_INITRD=/boot/initrd.img
INITRD_COMPR="xz --check=crc32 --x86 -6 -"
/create_initrd.sh /initrd.img /boot/\${SLIM_INITRD} \
"\${INITRD_COMPR}" \${MICRO_INITRD}
rm -f $(realpath /initrd.img)
rm -f $(realpath /initrd.img.old)
echo "====> Content of /boot before rm:"
ls /boot
rm -f /initrd.img
rm -f /initrd.img.old
KERN_ORIG=\$(ls /boot/initrd.img-* | head -1 | cut -d "-" -f 2-)
rm -f /boot/initrd.img-*
echo "====> Content of /boot AFTER rm:"
ls /boot
ln -s \${MICRO_INITRD} /initrd.img
## rm create_initrd.sh
rm /create_initrd.sh
## install additional packages
cd /extra/custom-packages
dpkg -i \$(find ./ -type f -name '*.deb')
## package list
dpkg -l | awk '/^ii/ { print \$2 " " \$3 }' > /home/${username}/package_list
##apt-get update
apt-get clean
rm /var/cache/apt/*.bin
updatedb
rm -f /initrd.img
rm -f /initrd.img.old
rm -f /boot/initrd.img-*
ln -s \${MICRO_INITRD} /initrd.img
ln -s \${MICRO_INITRD} /boot/initrd.img-\${KERN_ORIG}
EOF
## cp ${strapdir}/finalize ${strapdir}/finalize.bak
}
## func
# put_packages(){
# sudo cp -a "$R/extra/custom-packages/" ${strapdir}
# }
blend_finalize() {
fn blend_finalize
req=(strapdir username default_shell)
ckreq || return 1
put_create_initrd
#put_packages
put_finalize
#chroot-script -d finalize || zerr
chroot-script finalize || zerr
printf "copying ${strapdir}/boot/initrd.img to ${workdir}/binary/live/..."
sudo cp -L ${strapdir}/boot/initrd.img ${workdir}/binary/live/
printf "done\n"
printf "copying memtest86 to /binary/live\n"
sudo cp ${strapdir}/boot/memtest86+.bin ${workdir}/binary/live/memtest
printf "done\n"
echo "done"
}

View File

@ -2,7 +2,7 @@
## configuration file for devuan-live blend -- ASCII release
version="2.0.0"
version="2.1"
##
@ -44,6 +44,8 @@ minimal_base_packages+=(
## admin package set
minimal_admin_packages+=(
cryptsetup
cryptsetup-bin
debootstrap
entr
gddrescue
@ -52,6 +54,8 @@ minimal_admin_packages+=(
iftop
iotop
iw
lvm2
mdadm
mtr-tiny
multitail
ncdu
@ -104,7 +108,6 @@ minimal_net_packages+=(
rsync
setnet
telnet
tin
traceroute
w3m
wget
@ -201,20 +204,20 @@ minimal_media_packages+=(
## misc package set
minimal_misc_packages+=(
cmatrix
cowsay
cowsay
eject
figlet
figlet
fortunes-min
fortune-mod
gpm
fortune-mod
gpm
man-db
manpages
manpages-dev
mlocate
termsaver
toilet
termsaver
toilet
toilet-fonts
ttyrec
ttyrec
unzip
)
@ -266,25 +269,17 @@ extra_packages+=(
purge_packages=(
btrfs-tools
cryptsetup
cryptsetup-bin
debian-keyring
elinks
elinks-data
git
git-core
git-man
liberror-perl
libfsplib0
libtre5
openntpd
tasksel
tasksel-data
vim
vim-runtime
)
custom_deb_packages+=(memtest86+_5.01-3_${arch}.deb)
# yad needs to be first
#$custom_deb_packages+=(yad_0.27.0-1_${arch}.deb)

Some files were not shown because too many files have changed in this diff Show More