Bug 22982

Summary: Не может создать ./bin/sh
Product: Sisyphus Reporter: Andrey Rahmatullin <wrar>
Component: make-initrdAssignee: Alexey Gladkov <legion>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: glebfm, ldv, legion, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Andrey Rahmatullin 2010-02-17 21:35:34 MSK
$ sudo make-initrd
Config file: /etc/initrd.mk
Generating module dependencies on host ...
Guessed modules: ehci-hcd evdev hid nls_base usbcore usbhid
Guessed features: add-modules
Creating initrd image ...
ln: создание символьной ссылки «./bin/sh»: Файл существует

$ cat /etc/initrd.mk
# trying to detect modules and features to access to root volume
AUTODETECT = kbd
FEATURES = compress lvm
Comment 1 Kirill A. Shutemov 2010-02-18 00:55:47 MSK
Похоже, что с прошлого раза осталась WORKDIR. ls /tmp/initrd-* ?

Возможно, предыдущая попытка сборки образа была чем-то прервана? Сейчас такая ситуация не обрабатывается должным образом.
Comment 2 Alexey Gladkov 2010-02-18 00:57:46 MSK
Исправлено в git.
Comment 3 Andrey Rahmatullin 2010-02-18 07:39:05 MSK
(В ответ на комментарий №1)
> Похоже, что с прошлого раза осталась WORKDIR. ls /tmp/initrd-* ?
Угу.