For general announcements.
Post a reply
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## refracted sid

Fri May 09, 2014 4:52 pm

Here's a snapshot of my sid. I promised this a long time ago, but never uploaded it, partly because there's already a good sid version of Refracta out there (thanks to dzz). This one is much smaller - major apps like word processor, image editor, multimedia and a bunch of other stuff are not installed. You get a desktop and refracta tools with all the dependencies installed. It's about 500mb. Some of the rescue and recovery tools are installed, but I left some out.
Last update/upgrade was April 9. I was going to update/upgrade today, and I noticed that it wanted to install systemd. I declined. Instead, I made a snapshot while it still has systemV. This is possibly the last snapshot without systemd. I assume that I'll still have the choice of booting with sysV after it installs systemd, but I don't know that for sure.
Here's the link -
http://distro.ibiblio.org/refracta/file ... 9_1436.iso
Edit: It has live-boot alpha21 et. al. from experimental.
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: refracted sid

Sat May 10, 2014 12:09 pm

Thanks.. downloading now!
Actually my sid images are not (and were never meant to be) "Refracta versions" but personal build examples.
I use a constantly dist-upgraded chroot with a semi-automated custom build script; a clean "live build" base is the proper way but this is quick. My most recent build was yesterday (643MB), the last posted one was April 17.
Some (not significantly large) systemd stuff got installed here last week. I can't work out why because nothing has it marked as a dep, recommends are turned off and it can be purged:

Code:
  `[sid: /]# aptitude why systemd
  i xfce4-power-manager Depends upower
  i A upower Depends pm-utils | systemd | systemd-services
  [sid: /]# dpkg -l|grep pm-utils
  ii pm-utils 1.4.1-14 all utilities and scripts for power management
  [sid: /]# apt-get purge systemd -s
  Reading package lists...
  Building dependency tree...
  Reading state information...
  The following packages will be REMOVED:
  systemd*
  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  Purg systemd [204-10]
  [sid: /]#`

However, installed or not, we are not (yet) forced to use systemd nor is it activated automatically. It won't be used here before then.
Note: live-boot alpha21 et al is now in sid proper. The only package from experimental used here is pmount.
More later, when I take a look and do some diffs on the package lists...
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: refracted sid

Sat May 10, 2014 12:51 pm

Some (hopefully correct) diffs, excluding libs.
Your image has these packages that mine does not:

Code:
  `< alsa-base
  < cpp-4.6
  < dh-python
  < dkms
  < gcc-4.6
  < gcc-4.6-base:i386
  < gcr
  < gdebi
  < gdebi-core
  < gir1.2-atk-1.0
  < gir1.2-freedesktop
  < gir1.2-gdkpixbuf-2.0
  < gir1.2-gtk-3.0
  < gir1.2-pango-1.0
  < gir1.2-vte-2.90
  < gnome-keyring
  < gtk2-engines:i386
  < iamerican
  < ibritish
  < ienglish-common
  < ispell
  < linux-headers-3.13-1-686-pae
  < linux-headers-3.13-1-common
  < linux-image-3.13-1-686-pae
  < linux-kbuild-3.13
  < openssh-blacklist
  < openssh-blacklist-extra
  < p11-kit
  < p11-kit-modules:i386
  < policykit-1
  < policykit-1-gnome
  < python2.6
  < python2.6-minimal
  < python3
  < python3-apt
  < python3-chardet
  < python3-debian
  < python3-gi
  < python3-minimal
  < python3-pkg-resources
  < python3-six
  < python3.3
  < python3.3-minimal
  < python3.4
  < python3.4-minimal
  < reportbug
  < ssvnc
  < stunnel4
  < task-english
  < tasksel
  < tasksel-data
  < tk8.5
  < uswsusp
  < util-linux-locales
  < xorriso
  < xserver-xorg-video-all
  < xserver-xorg-video-modesetting
  < xserver-xorg-video-tdfx
  `

Some of the above were removed here for bloat reduction.
My image has these packages that yours does not (includes some not in main repo):

Code:
  `> abcde
  > abiword
  > abiword-common
  > acpi-fakekey
  > alsamixergui
  > aspell
  > aspell-en
  > asunder
  > at-spi2-core
  > audacious
  > audacious-plugins:i386
  > audacious-plugins-data
  > aufs-tools
  > ccrypt
  > cd-discid
  > cdparanoia
  > cifs-utils
  > clamav
  > clamav-base
  > clamav-freshclam
  > curlftpfs
  > disk-manager
  > docbook-xml
  > encfs
  > epdfview
  > esound-common
  > ethtool
  > evolution-data-server-common
  > fdupes
  > flac
  > galternatives
  > gamin
  > gcc-4.9-base:i386
  > gddrescue
  > gecko-mediaplayer
  > gftp
  > gftp-common
  > gftp-gtk
  > gftp-text
  > gimp
  > gimp-data
  > git
  > git-man
  > gkdebconf
  > gnome-mplayer
  > gnumeric
  > gnumeric-common
  > gpm
  > growisofs
  > grsync
  > gsfonts-x11
  > gstreamer0.10-plugins-base:i386
  > gstreamer1.0-plugins-base:i386
  > gthumb
  > gthumb-data
  > gtk2-engines-pixbuf:i386
  > gvfs-backends
  > gxmessage
  > hardinfo
  > hddtemp
  > hdparm
  > hexedit
  > host
  > iftop
  > iptraf
  > linux-headers-3.14-1-686-pae
  > linux-headers-3.14-1-common
  > linux-headers-686-pae
  > linux-image-3.14-1-686-pae
  > linux-kbuild-3.14
  > live-boot-doc
  > live-config-doc
  > live-config-refracta
  > lm-sensors
  > lshw
  > mc
  > mc-data
  > meld
  > moc
  > mplayer2
  > nictools-pci
  > nmap
  > pacpl
  > partimage
  > python-gtksourceview2
  > python-talloc
  > rarian-compat
  > read-edid
  > rubygems-integration
  > samba-common
  > samba-libs:i386
  > scrollkeeper
  > sdparm
  > sgml-data
  > smartmontools
  > systemd
  > tango-icon-theme
  > taskfer
  > testdisk
  > tilda
  > transmission
  > transmission-common
  > transmission-gtk
  > tree
  > tsconf
  > udevil
  > udisks
  > user-setup
  > vbetool
  > virtualbox-guest-utils
  > virtualbox-guest-x11
  > vorbis-tools
  > vrms
  > wavpack
  > winff
  > winff-doc
  > winff-gtk2
  > wipe
  > xchat
  > xchat-common
  > xdg-utils
  > xfburn
  > xfce4-battery-plugin
  > xfce4-cpugraph-plugin
  > xfce4-netload-plugin
  > xfce4-screenshooter
  > xquisite-icon-theme
  > xtightvncviewer
  > youtube-viewer-refracta
  > zenmap
  `

Your image boots and seems to run fine here (so far tested only) in virtualbox. I removed "quiet" from boot options to see what's going on more clearly. I like the autologin.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: refracted sid

Sat May 10, 2014 6:15 pm

Wow, I missed the autologin when I booted the iso in vbox. I don't know where that came from. The installation that was used to make the snapshot has autologin disabled. (commented out and no user name). Something in the live-* scripts maybe? Oh, the answer is yes. Console autologin is also enabled. See below. Guess it needs to be tested to make sure the autologin does not persist when the snapshot is installed. And maybe the 'disable autologin' options should be defaulted to 'yes' in the installer
Also forgot to mention in the previous post - there's no sudo set up. As usual, the root password is root.

Code:
  `grep -r autologin /lib/live/*
  /lib/live/config/0090-kdm: # autologin
  /lib/live/config/0120-nodm: # autologin
  /lib/live/config/0130-slim: # autologin
  /lib/live/config/0110-lxdm: sed -i -r -e "s|^#.*autologin=.*\$|autologin=${LIVE_USERNAME}|" \
  /lib/live/config/0110-lxdm: sed -i -r -e "s|^#.*autologin=.*\$|autologin=${LIVE_USERNAME}|" \
  /lib/live/config/1130-login: # lastlog with autologin doesn't make sense
  /lib/live/config/0160-sysvinit: # Configure autologin
  /lib/live/config/0100-lightdm: sed -i -r -e "s|^#.*autologin-user=.*\$|autologin-user=${LIVE_USERNAME}|" \
  /lib/live/config/0100-lightdm: -e "s|^#.*autologin-user-timeout=.*\$|autologin-user-timeout=0|" \
  `

Code:
  `grep inittab /lib/live/config/*
  /lib/live/config/0160-sysvinit: sed -i -e "s|^\([^:]*:[^:]*:[^:]*\):.*getty.*\<\(tty[0-9]*\).*$|\1:/bin/login -f ${LIVE_USERNAME} </dev/\2 >/dev/\2 2>\&1|"/*CENSORED*/inittab
  `

Adding this for reference - a question about getting rid of systemd.
www.linuxquestions.org/questions/debian ... 175504377/
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: refracted sid

Sun May 11, 2014 3:47 am

Note also: config=whatever has changed to (like the terminology or not) components=whatever in curent live-config. I don't think config=whatever works now and don't see how how live-config, if not called properly, can do anything ay all.
In the live session, each live-config script which has executed writes a (empty) state file to /var/lib/live/config/ .. if no state file is there it has not run (or exited without doing anything)
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: refracted sid

Sun May 11, 2014 12:01 pm

OK, change 'config=openssh-server' to 'components=openssh-server' to get that to work. (ssh runs either way, but there are no host keys without 'components=')
When I boot without the 'components=openssh-server' then the following are in /var/lib/live/config:
hostname ligntdm locales sysvinit sysv-rc tzdata xinit
And during boot, this line shows up:

Code:
  `live-config: debconf hostname sudo locales tzdata`

When I boot with 'components=openssh-server' then I don't get the automatic login. In fact, the only thing in /var/lib/live/config is openssh-server, and this line shows up while booting:

Code:
  `live-config: openssh-server`

Note that sudo is enabled in the live session, whether or not it shows up in the live-config line during boot.
Edit: I'm going to move this whole thread to Experimental. Later.
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: refracted sid

Sun May 11, 2014 1:31 pm

Same results here. Note, if you add debug=1 to cmdline you get proper logs for live-boot and live-config in /var/log/live/ which can be helpful. With this type of image, selected config scripts only should execute.
BTW I updated and deb-packaged "live-config-refracta" which sets language and keyboard more simply (and it works) http://exegnulinux.net/refracta/experim ... .1_all.deb
Example usage: simply components=refracta-lang lang=de (or lang=en_GB with or without the ".UTF-8")
EDIT I processed the iso through my rebuild script without making any changes. The script does things as discussed elsewhere like removing .pyo and .pyc files. The rebuilt iso is down from 504 to 493MB.
http://exegnulinux.net/refracta/experim ... apshot_1.3 if you want (at your own risk) to try it. It can extract an iso, open a chroot with network for installation or dist-upgrade, resquash and make a new iso.
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: refracted sid

Sun May 11, 2014 8:41 pm

The isolinux boot help screen for setting the language (f5.txt, in refractasnapshot-base) currently contains the following:

Code:
  `Do same with refracta-lang (experimental):
  0fboot: config=refracta-lang,tzdata lang=de_DE 07`

Does that change to this with the new live-config-refracta package?

Code:
  `Do same with refracta-lang (experimental):
  0fboot: components=refracta-lang,tzdata lang=de 07`

dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

## Re: refracted sid

Sun May 11, 2014 11:46 pm

It works the same as before (1065-refracta-lang), except is updated and deb-packaged. It is relevant (only) to non-US users who will get into difficulty beyond mere inconvenience with a non-US keyboard at console level. It is particularly useful for usb where it can be permanently set.
The help menu should probably make clear that enabled live-config "components" must be a comma-separated list, e.g "components=openssh-server,sudo,refracta-lang,tzdata"

Code:
  `Do same with refracta-lang (experimental):
  boot: components=script1,script2,refracta-lang lang=de_DE`

might be better for the help screen although where the upper and lower parts are the same (e.g. fr_FR) simply fr should still work .. "config=" must change to "components=". Since nobody ever reported it to fail maybe it's not so "experimental" now.
If you want to set a different timezone at boot (tzdata, another script already does that) you need also e.g. "timezone=Europe/Berlin" on cmdline as well as including tzdata in "components"
fsmithred

- fsmithred
- Posts: 2101
- Joined: Wed Mar 09, 2011 9:13 pm

## Re: refracted sid

Mon May 12, 2014 6:06 pm

Some testing of refracta-lang and trying to figure out what live-boot/live-config is doing.
I booted with 'components=refracta-lang lang=fr' and saw this go past during boot.

> refracta-lang Choosing locale 'fr_BE.UTF-8' as 'fr.UTF-8' is unsupported.

And yes, I got French lang and keyboard.
If no components are listed on the boot command line:

Code:
  `live-config: debconf hostname locales tzdata`

'components=debconf' gives you sudo, I don't know what else it gives you that 'components=sudo' does not.
If any components are listed on the boot line, you lose autologin. Adding 'autologin' or 'xautologin' or 'x11autologin' to the boot line does nothing. Adding 'components=debconf,hostname,locales,tzdata' does not give you back the autologin. Adding 'components=login' doesn't do it, either.
That's all for now.
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.