[arch-releng] building 2.6.30 iso's

Dieter Plaetinck dieter at plaetinck.be
Sun Jun 14 14:36:28 EDT 2009


Did anyone succeed at building 2.6.30 iso's?
Here are my notes:
- enable testing on your system and make sure your system runs the arch
  2.6.30 kernel
- update your whole system (squashfs tools are important)
- get latest archiso from git, sudo make install it
- in makefile sed 's/unionfs/aufs/g' on makechrootpkg (i think this is
  not needed anymore)
- change this (humanized diff)
configs/install-iso/Makefile
-kver=2.6.28-ARCH
+kver=2.6.30-ARCH

configs/install-iso/packages.list
-lshwd
-netkit-telnet
+inetutils
-rt2500

That's about as far as I get.
Here's my output:
dieter at dieter-ws-a7n8x-arch install-iso [master] sudo make core-iso
mkarchiso -p "`cat packages.list` grub-gfx" create work
mkarchiso : Configuration Settings
        working directory:   work
               image name:   none
====> Creating working directory: work
====> Installing packages to 'work/root-image/'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_COLLATE = "C",
	LANG = "en_US.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Cleaning up what we can
Creating default home directory
mv work/root-image/boot work/iso/
cp -r boot-files/* work/iso/boot/
cp isomounts work
sed -i "s|@ARCH@|`uname -m`|g" "work/isomounts"
mkinitcpio -c initcpio-ide -b work/root-image -k 2.6.30-ARCH -g
work/iso/boot/archiso_ide.img :: Begin build
:: Parsing hook [base]
:: Parsing hook [archiso-early]
:: Parsing hook [udev]
:: Parsing hook [archiso]
:: Parsing hook [ide]
:: Parsing hook [scsi]
:: Parsing hook [usb]
:: Parsing hook [fw]
:: Parsing hook [filesystems]
:: Parsing hook [usbinput]
:: Generating module dependencies
:: Generating image 'work/iso/boot/archiso_ide.img'...SUCCESS
mkinitcpio -c initcpio-pata -b work/root-image -k 2.6.30-ARCH -g
work/iso/boot/archiso_pata.img :: Begin build
:: Parsing hook [base]
:: Parsing hook [archiso-early]
:: Parsing hook [udev]
:: Parsing hook [archiso]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [usb]
:: Parsing hook [fw]
:: Parsing hook [filesystems]
:: Parsing hook [usbinput]
:: Generating module dependencies
:: Generating image 'work/iso/boot/archiso_pata.img'...SUCCESS
mkdir work/core-pkgs/
./download-repo.sh core "work/core-pkgs"
:: Synchronizing package databases...
 testing is up to date
 core is up to date
 extra is up to date
 community is up to date
error: failed to prepare transaction (could not satisfy dependencies)
/core.db.tar.gz: Unsupported scheme.
make: *** [core-pkgs] Error 1



When I "sniff" (replace /usr/bin/pacman with a script that calls the
real pacman and logs the exact invocation to a file) the last pacman
invocation, it seems to be this:

pacman -Sp core/acl core/attr core/autoconf core/automake
core/b43-fwcutter core/bash core/bin86 core/binutils core/bison
core/bridge-utils core/bzip2 core/ca-certificates core/cloog-ppl
core/coreutils core/cpio core/cracklib core/crda core/cryptsetup
core/dash core/db core/dbus-core core/dcron core/device-mapper
core/dhcpcd core/dialog core/diffutils core/dmapi core/dmraid
core/dnsutils core/e2fsprogs core/ed core/eventlog core/expat
core/fakeroot core/file core/filesystem core/findutils core/flex
core/gawk core/gcc core/gcc-libs core/gdbm core/gen-init-cpio
core/gettext core/glib2 core/glibc core/gmp core/gpm core/grep
core/groff core/grub core/gzip core/hdparm core/heimdal core/ifenslave
core/inetutils core/initscripts core/iproute2 core/iptables
core/iputils core/ipw2100-fw core/ipw2200-fw core/isdn4k-utils core/iw
core/iwlwifi-3945-ucode core/iwlwifi-4965-ucode core/iwlwifi-5000-ucode
core/iwlwifi-5150-ucode core/jfsutils core/kbd core/kernel-headers
core/kernel26 core/kernel26-firmware core/klibc core/klibc-extras
core/klibc-kbd core/klibc-module-init-tools core/klibc-udev core/less
core/libarchive core/libdownload core/libelf core/libevent
core/libgcrypt core/libgpg-error core/libldap core/libnl core/libpcap
core/libsasl core/libtool core/libusb core/licenses core/lilo
core/links core/linux-atm core/logrotate core/lvm2 core/lzo2 core/m4
core/madwifi core/madwifi-utils core/mailx core/make core/man-db
core/man-pages core/mdadm core/mkinitcpio core/mlocate
core/module-init-tools core/mpfr core/nano core/ncurses
core/ndiswrapper core/ndiswrapper-utils core/net-tools core/netcfg
core/nfs-utils core/nfsidmap core/openssh core/openssl core/openswan
core/openvpn core/pacman core/pacman-mirrorlist core/pam core/patch
core/pciutils core/pcmciautils core/pcre core/perl core/pkgconfig
core/popt core/portmap core/ppl core/ppp core/pptpclient core/procinfo
core/procps core/psmisc core/readline core/reiserfsprogs core/rp-pppoe
core/rt2500 core/rt2x00-rt61-fw core/rt2x00-rt71w-fw core/run-parts
core/sdparm core/sed core/shadow core/sqlite3 core/sudo core/sysfsutils
core/syslog-ng core/sysvinit core/tar core/tcp_wrappers core/texinfo
core/tiacx core/tiacx-firmware core/tzdata core/udev core/usbutils
core/util-linux-ng core/vi core/vpnc core/wget core/which
core/wireless-regdb core/wireless_tools core/wlan-ng26-utils
core/wpa_supplicant core/xfsprogs core/xinetd core/xz-utils
core/zd1211-firmware core/zlib

And when i run this manually i get:
dieter at dieter-ws-a7n8x-arch install-iso [master] eval sudo
`cat /home/dieter/paclog` Password: 
resolving dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: nvidia-173xx: requires kernel26>=2.6.30

This looks weird to me.  There is no nvidia stuff in packages.list, nor
in the paclog file.  Besides I am running 2.6.30 already ?!


Dieter


More information about the arch-releng mailing list