Hi List,

As a longtime RedHat user I was happy to see the redsleeve initiative
for my raspberry.
However I tried the image a couple of times the past year or so and
found it quite broken. This week I made a new effort with the result
that I now have a new image, which I would like to share with you.

Is there a place where I can upload around 110MB ?

For reference, the most annoying 'brokenness' was, that an attempt to
resize the image on your SD-card would result in a non-bootable system.
For the resize you'd need to install e2fsprogs, which includes
/sbin/fsck.ext4 . When this file is present the rc-scripts would try to
fsck on boot and fail with a warning of "unable to fsck a mounted file
system" (see
http://lists.redsleeve.org/pipermail/users/2013-June/000227.html)
The reason was that the 'ro' option was missing in the kernel command line.

Besides this there were some errors present on boot, due to missing
commands and missing users. And last but not least, I found the list of
installed packages strange and quite outdated.

I tried to make the list of installed packages resemble (as reasonably
as possible) the list of a default minimal install of the most recent
CentOS.

As attachments to this mail I include my notes from the image creation
and a list of package differences to CentOS-minimal.

Open Items:
* during boot I see a message "init: rcS main process (44) terminated
with status 1", which I was not able to debug yet.
* I quite often see messages like "Unknown HZ value! (45) Assume 100."
which is probably due a kernel/system mismatch somewhere (the kernel in
this image is not Redsleeve !)
* Should we update the kernel to a more recent version from
raspbian/pidora ?
* In a previous attempt to use redsleeve I found, that I could not
compile new kernel modules due to missing kernel source.
* The timezone is now 'EDT' (as it was in the previous image), does
'UTC' make more sense?
* I think pidora has some scripts somewhere to "resize the image" and to
"create a swap file", should we include them into redsleeve somewhere,
or is that to big a deviation from PNAELV
* I still miss the RTC on these machines. is there a script somewhere
that sets the time to the last known date, so that (in case of missing
network connectivity) the clock never goes backwards. maybe something
like this: http://zenit.senecac.on.ca/wiki/index.php/Nortc
* I found that a number of packages are lagging behind PNAELV. I'll make
a list in a separate mail.

Regards,

Jacco


* copy image to SD
* add 'ro' to cmdline.txt
* fsck -f /
* remove eth0 from /etc/udev/rules.d/70-persistent-net.rules

* boot
* config tmp network
* ntpdate
* yum update redsleeve-release
* rm /etc/yum.repos.d/rsel6.repo
* rm -rf /var/cache/yum/armv5tel/\$releasever/
* rm -rf /var/cache/yum/armv5tel/6/rsel6/
* yum reinstall MAKEDEV
* yum install dhclient
* chkconfig ntpdate on
* remove ntpdate line from /etc/rc.local 
* yum install vim-minimal
* yum remove alsa-lib atk avahi-libs cairo ConsoleKit ConsoleKit-libs \
  cups-libs dbus desktop-file-utils eggdbus emacs emacs-common fontconfig \
  freetype GConf2 giflib gnutls gpm-libs gtk2 hicolor-icon-theme jasper-libs \
  libcroco libgsf libICE libIDL libjpeg libotf libpng librsvg2 libSM libthai \
  libtiff libX11 libX11-common libXau libXaw libxcb libXcomposite libXcursor \
  libXdamage libXdmcp libXext libXfixes libXft libXi libXinerama libXmu libXpm \
  libXrandr libXrender libXt m17n-db m17n-db-datafiles m17n-lib ntsysv \
  openssh-askpass openssh-ldap ORBit2 pango perl perl-libs 
perl-Module-Pluggable \
  perl-Pod-Escapes perl-Pod-Simple perl-version pixman polkit sgml-common \
  vim-common vim-enhanced wget
* yum reinstall filesystem libutempter
* yum update
* yum install e2fsprogs sudo cronie plymouth file
* add '--noclear' to /etc/init/tty.conf
* remove 'elevator=deadline' from /boot/cmdline.txt
* add 'LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 crashkernel=auto rhgb quiet \
  vm.swappiness=1' to/boot/cmdline.txt 

IMAGE CREATION
* yum clean all
* remove /root/<files>
* check resolv.conf
* remove SSH keys
* edit /etc/udev/rules.d/70-persistent-net.rules
* clear out /tmp /var/tmp /var/cache /var/lock /var/run /var/log
* resize / image to fit 1GB SD
* zero empty space
RPMS more than CentOS-minimal:
ntp
ntpdate
redsleeve-release

RPMS less than CentOS-minimal:
audit
b43-openfwwf
bridge-utils
centos-release
cryptsetup-luks
cryptsetup-luks-libs
dash
device-mapper
device-mapper-event
device-mapper-event-libs
device-mapper-libs
device-mapper-multipath
device-mapper-multipath-libs
device-mapper-persistent-data
dracut
dracut-kernel
efibootmgr
fuse
grub
grubby
iscsi-initiator-utils
kbd
kbd-misc
kernel
kernel-firmware
kpartx
libaio
libpciaccess
libudev
lvm2
lvm2-libs
m4
mdadm
pciutils-libs
selinux-policy
selinux-policy-targeted
xfsprogs
_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to