При создании ovz-образа для p5 с помощью spt возникает ошибка из-за отсутствия sed в базовом наборе пакетов: $ spt -v --number=1 --apt-config=/home/sin/etc/apt.conf.i586.p5.clean --image-type=tgz /srv/sin/ovz ... <13>Mar 13 18:19:24 rpmi: libpasswdqc-1.1.3-alt1 installed /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found passwdqc-enforce: Invalid mode: users error: execution of %post scriptlet from libpasswdqc-1.1.3-alt1 failed, exit status 1 <13>Mar 13 18:19:24 rpmi: pam-config-1.5.0.2-alt1 installed /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found pam_mktemp: Invalid mode: enabled .... <13>Mar 13 18:19:25 rpmi: shadow-groups-1:4.0.4.1-alt9 installed /etc/control.d/functions: line 19: sed: command not found /etc/control.d/functions: line 19: sed: command not found /etc/control.d/functions: line 19: sed: command not found /etc/control.d/functions: line 19: sed: command not found .... <13>Mar 13 18:19:26 rpmi: chrooted-resolv-0.3.1-alt2 installed /etc/chroot.d/functions: line 207: sed: command not found /etc/chroot.d/functions: line 236: sed: command not found ... <13>Mar 13 18:19:27 rpmi: iputils-20071127-alt4 installed /etc/control.d/functions: line 19: sed: command not found /etc/control.d/functions: line 19: sed: command not found /etc/control.d/functions: line 19: sed: command not found /etc/control.d/functions: line 19: sed: command not found ... <13>Mar 13 18:19:28 rpmi: portmap-1:6.0-alt1 installed /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found /etc/control.d/functions: line 28: sed: command not found portmap: Invalid mode: local ... <13>Mar 13 18:19:29 rpmi: mount-2.16.1-alt1 installed /etc/control.d/functions: line 19: sed: command not found /etc/control.d/functions: line 19: sed: command not found ... hsh-install: Packages installation failed. Я добавил соответствующую зависимость у себя в git: git://git.altlinux.org/people/sin/packages/spt.git
Аналогичная проблема и для awk: ... <13>Mar 14 06:56:25 rpmi: etcnet-0.9.10-alt2.1 installed /usr/bin/alternatives-validate: line 61: awk: command not found /usr/share/alternatives/functions: line 77: awk: command not found hsh-install: Packages installation complete. ...
Наверное, пора убирать spt и предлагать всем перебираться на mkimage, перетаскивая профили.
А где-нибудь доступен mkimage-profile-ovz ? По запросу $ ssh git.alt find-package "mkimage-profile*"|grep ovz ничего нет. Может у кого в ветках? Инструмент для ovz вроде отработан, хотелось бы не терять его, а заменить, когда подготовим ovz-профиль для mkimage.
Мне вроде как не попадался, надо портировать.