The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)
Sysadmin
From Mer Wiki
(Difference between revisions)
(New page: = Preparing an openSuse chroot = Prepare an openSUSE minimal image. This is done on a suitable opensuse machine (eg phost14) and then rsync'ed to zathras /data/11.4 zypper in kiwi-templ...) |
(→Preparing an openSuse chroot) |
||
(One intermediate revision by one user not shown) | |||
Line 8: | Line 8: | ||
mkdir -p ${ROOTFS} | mkdir -p ${ROOTFS} | ||
rm -rf ${ROOTFS} | rm -rf ${ROOTFS} | ||
− | PKGS="emacs-nox iputils kernel | + | PKGS="emacs-nox iputils kernel less puppet rsync sudo terminfo wget sysvinit" |
− | kiwi --prepare suse-${OS}-JeOS --root $ROOTFS | + | kiwi --prepare suse-${OS}-JeOS --root $ROOTFS $(for p in $PKGS; do echo --add-package $p; done) |
− | chroot /data/$OS}min | + | chroot /data/${OS}min |
mount /proc | mount /proc | ||
mount -tsysfs /sys /sys | mount -tsysfs /sys /sys | ||
Line 17: | Line 17: | ||
touch /bin/on_ac_power | touch /bin/on_ac_power | ||
export rootfstype="ext4" | export rootfstype="ext4" | ||
− | mkinitrd -d /dev/null -m "ext4 binfmt_misc" | + | mkinitrd -d /dev/null -m "ext4 binfmt_misc virtio_pci virtio_blk" |
+ | umount /dev/pts | ||
+ | umount /sys | ||
+ | umount /proc |
Latest revision as of 20:29, 27 November 2011
[edit] Preparing an openSuse chroot
Prepare an openSUSE minimal image. This is done on a suitable opensuse machine (eg phost14) and then rsync'ed to zathras /data/11.4
zypper in kiwi-templates OS=11.4 ROOTFS=/data/${OS}min mkdir -p ${ROOTFS} rm -rf ${ROOTFS} PKGS="emacs-nox iputils kernel less puppet rsync sudo terminfo wget sysvinit" kiwi --prepare suse-${OS}-JeOS --root $ROOTFS $(for p in $PKGS; do echo --add-package $p; done)
chroot /data/${OS}min mount /proc mount -tsysfs /sys /sys mount -tdevpts /dev/pts /dev/pts touch /bin/on_ac_power export rootfstype="ext4" mkinitrd -d /dev/null -m "ext4 binfmt_misc virtio_pci virtio_blk" umount /dev/pts umount /sys umount /proc