Mon May 26, 2014 4:55 pm
Depends: syslinux (<=4.5) | syslinux (>= 6.03), syslinux (<=4.5) | isolinux (>=6.03), blah...
In a list of conditions to be met, the comma serves as a separator. It must be interpreted as a logical “and”. In conditions, the vertical bar (“|”) expresses a logical “or” (it is an inclusive “or”, not an exclusive “either/or”). Carrying greater priority than “and”, it can be used as many times as necessary. Thus, the dependency “(A or B) and C” is written A | B, C. In contrast, the expression “A or (B and C)” should be written as “(A or B) and (A or C)”, since the Depends field does not tolerate parentheses that change the order of priorities between the logical operators “or” and “and”. It would thus be written A | B, A | C.
Mon May 26, 2014 8:59 pm
Tue May 27, 2014 12:11 am
refractasnapshot-base (9.1.2) unstable; urgency=low
* Replaced genisoimage and isohybrid commands with xorriso
* Added support for syslinux and isolinux version 6.x
* Moved entry for distribution name to beginning of program.
* Added tests for cpulimit and rm to reduce error messages.
* -n, -d and -c command-line options can be used together.
* Fixed initial text in 'read' command in set_distro_name.
refractasnapshot-gui (9.1.2) unstable; urgency=low
* Replaced genisoimage and isohybrid commands with xorriso
* Added support for syslinux and isolinux version 6.x
* Moved entry window for distribution name to beginning of program.
* Added tests for cpulimit and rm to reduce error messages.
* -d and -c command-line options can be used together.
Tue May 27, 2014 12:19 am
0fRefracta!07 07
You can specify the default language at the boot prompt below in combination
with the boot method (see <09F307>) and any other options (see <09F407>).
Examples:
Use default boot method (live); set locale and keyboard layout for Germany:
0fboot: components=locales,keyboard-configuration locales=de_DE.UTF-8 keyboard-layouts=de07
Do same with refracta-lang (experimental, this will also automatically set the keyboard):
0fboot: components=refracta-lang lang=de_DE 07
Or, at the boot menu screen, press TAB and append the boot line with the
locale options. (e.g. 0fcomponents=locales locales=de_DE.UTF-807 or
0fcomponents=locales,keyboard-configuration locales=de_DE.UTF-8 keyboard-layouts=de07)
Some common locales:
France fr_FR.UTF-8
Spain es_ES.UTF-8
Russia ru_RU.UTF-8
The system clock will default to UTC. To set a local timezone (example):
0fcomponents=refracta-lang,tzdata lang=de_DE timezone=Europe/Berlin07
Note: "components=" is a live config setting. Scripts to invoke must be comma-separated
with no spaces, e.g. "components=script1,script2,script3"
If no live config scripts are wanted "nocomponents" must replace "components="
You may:
- press F1 to return to the help index
- type 0fmenu07 and press ENTER to go back to the boot screen
- press ENTER to boot
Tue May 27, 2014 1:52 am
isohybrid_bin_file="$(find /usr/lib/syslinux -name isohdpfx.bin)"
Tue May 27, 2014 10:47 am
Sat May 31, 2014 9:52 pm
I left the default entry without any config/components so that autologin and sudo would be default
ls /var/lib/live/config
hostname lightdm locales login openssh-server policykit refracta-lang ssl-cert sudo sysvinit sysv-rc tzdata util-linux xfce4-panel xinit xscreensaver
Sat May 31, 2014 10:46 pm
ls /var/lib/live/config
hostname lightdm locales sudo sysvinit sysv-rc tzdata xinit
Sat May 31, 2014 11:54 pm
With no live-config components listed on boot line, sudo and autologin work,
and reboot and shut down buttons work.
components=openssh-server,sudo # this works
components=openssh-server,sudo nocomponents=lightdm # sudo and autologin work,
but can't reboot or shut down, and ssh host keys don't get created.
components=openssh-server,sudo,lightdm # sudo, autologin, reboot/shutdown, and ssh host keys are all working.
Sun Jun 01, 2014 8:29 pm
dzz wrote:Other than that, a few "wishlist" options. Like rsync without format for installer and others mentioned before (if anyone except me wants them). Any other clean ways to customize without script-hacking. Support for TDE R14.
#!/bin/bash
# menugen
#set -x
source /usr/lib/refracta2usb/functions_r2u
yad_zenity_compat
iso_dir="/usr/lib/refractasnapshot/iso"
boot_menu="live.cfg"
set_distro_name () {
if [[ $iso_dir = "/usr/lib/refractasnapshot/iso" ]] && [[ $boot_menu = "live.cfg" ]] ; then
DISTRO=$(lsb_release -i -s 2>/dev/null)
if $(grep -q Refracta /*CENSORED*/issue) ; then
DISTRO="Refracta"
fi
DISTRO=$($DIALOG --entry --title="Linux Distribution" --text="This is the distribution name that will appear in the boot menu
for the live image. If it's blank, the menu entries will just say
\"GNU/Linux (kernel-version)\" " \
--entry-text="$DISTRO" --width=500 --${BUTTON0}="OK"${BUTTON0NUM})
if [[ -z "$DISTRO" ]] ; then
DISTRO="GNU/Linux `uname -r`"
fi
fi
}
set_distro_name
# get live-config version, so we know whether to use "config=" or "components=" in the boot menu.
live_config_version=$(dpkg -l live-config | awk '/^ii/ { print $3 }')
if $(echo $live_config_version | grep -q ^4); then
CONFIGS="components"
else
CONFIGS="config"
fi
false
# Use this line if menu_template is a separate file instead of
# echoing the menu text as in the section below this.
#sed -e "s:\$DISTRO:$DISTRO:g" menu_template | sed -e "s:\${CONFIGS}:$CONFIGS:g" > boot_menu
# Create the boot menu.
if [[ -n "$DISTRO" ]] ; then
echo "label live
menu label $DISTRO (default)
kernel /live/vmlinuz quiet
append initrd=/live/initrd.img boot=live ip=frommedia union=aufs ${CONFIGS}=openssh-server
label nox
menu label $DISTRO (text-mode)
kernel /live/vmlinuz quiet
append initrd=/live/initrd.img boot=live ip=frommedia union=aufs 3 ${CONFIGS}=openssh-server
"
# " > "$work_dir"/iso/isolinux/"$boot_menu"
fi