From: "Kirill A. Shutemov" <kirill@shutemov.name> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] Toshiba AC100-116 and Sisyphus for ARM Date: Fri, 15 Oct 2010 23:53:41 +0300 Message-ID: <20101015205341.GA8641@shutemov.name> (raw) In-Reply-To: <20101015230723.26fd1975.cetus@newmail.ru> On Fri, Oct 15, 2010 at 11:07:23PM +0400, A.Kitouwaykin wrote: > On Fri, 15 Oct 2010 19:44:56 +0400 > Mike Lykov wrote: > > > > - -перед сборкой образа пришлось отключить репозитарии основной системы, > > > иначе mkimage зачем-то пытался работать и с ними. > > > > да, есть такое. там в местный apt.conf (от mkimage) надо прописать .... > > а, вот оно > > http://www.altlinux.org/Hasher/%D0%A0%D1%83%D0%BA%D0%BE%D0%B2%D0%BE%D0%B4%D1%81%D1%82%D0%B2%D0%BE#.D0.9D.D0.B0.D1.81.D1.82.D1.80.D0.BE.D0.B9.D0.BA.D0.B0_.D1.81.D0.B1.D0.BE.D1.80.D0.BE.D1.87.D0.BD.D0.BE.D0.B9_.D1.81.D1.80.D0.B5.D0.B4.D1.8B > > > > оно же http://www.altlinux.org/Hasher/Руководство#Настройка сборочной среды > > Однако если необходимо создать сборочную среду, независимую по источникам от основной операционной системы .... > > .. > > следует добавить следующую строку во избежание включения /etc/apt/sources.list.d/*.list: > > Dir::Etc::SourceParts "/var/empty"; > > > > > Всё обламывается на этапе прописывания исполнителя для армовых бинарников: > > > [root@serpent ~]# echo > > > ":arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm.static:" > > > > /proc/sys/fs/binfmt_misc/register > > > - -bash: echo: write error: Invalid argument > > > > у меня наблюдалось такое, если там уже один раз было что-то прописано. > > > > посмотрите.. cat /proc/sys/fs/binfmt_misc/arm > > как убрать не знаю, кроме перезагрузки. echo -1 > /proc/sys/fs/binfmt_misc/arm > > к тому же, удобнее запихнуть эту строку в шелл-скрипт и исполнять его. > > > > И если что-то нашли, не забывайте править wiki на более актуальное. я же правил.. ;) > > Документация по этому делу, конечно, напоминает скорее какие-то лабораторные опыты одного школьника ;) > > > > -- > > Mike > > _______________________________________________ > > Sisyphus mailing list > > Sisyphus@lists.altlinux.org > > https://lists.altlinux.org/mailman/listinfo/sisyphus > Наваял себе скриптик, вроде работал... Кое что слизал из сервиса wine > > #! /bin/bash > # system tuning for work with qemu-arm-static under hasher chroot > (( $UID )) && echo Use the force, Luke! && exit > [ -f /proc/sys/fs/binfmt_misc/register ] || mount -t binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc > [ -f /proc/sys/fs/binfmt_misc/arm ] && echo -1 > /proc/sys/fs/binfmt_misc/arm > echo ":arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/.host/qemu-arm: > " > /proc/sys/fs/binfmt_misc/register > echo 32768 > /proc/sys/vm/mmap_min_addr > cat /proc/sys/fs/binfmt_misc/arm > > ну, от echo до echo - длинная строчка, остальное вроде понятно... > > -- > Анатолий Китайкин > ОАО Радиоавионика, СПб > _______________________________________________ > Sisyphus mailing list > Sisyphus@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/sisyphus -- Kirill A. Shutemov
next prev parent reply other threads:[~2010-10-15 20:53 UTC|newest] Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-10-13 21:11 Yuriy Shirokov 2010-10-14 7:02 ` Andrey Kuleshov 2010-10-14 7:05 ` Andrey Rahmatullin 2010-10-14 7:30 ` Michail Yakushin 2010-10-14 8:38 ` Yuriy Al. Shirokov 2010-10-14 9:19 ` Michail Yakushin 2010-10-14 9:22 ` Yuriy Al. Shirokov 2010-10-15 13:15 ` Yuriy Shirokov 2010-10-15 21:07 ` Michael Shigorin 2010-10-15 14:56 ` Yuriy Shirokov 2010-10-15 15:44 ` Mike Lykov 2010-10-15 19:07 ` A.Kitouwaykin 2010-10-15 20:53 ` Kirill A. Shutemov [this message] 2010-10-15 22:37 ` Yuriy Shirokov 2010-10-16 1:00 ` Kirill A. Shutemov 2010-10-16 8:08 ` Yuriy Shirokov 2010-10-16 14:22 ` Mike Lykov 2010-10-16 14:34 ` Michail Yakushin 2010-10-16 21:17 ` Yuriy Shirokov 2010-10-16 21:45 ` Yuriy Shirokov 2010-10-17 11:32 ` Yuriy Shirokov 2010-10-17 12:34 ` Mike Lykov 2010-10-17 13:11 ` Yuriy Shirokov 2010-10-17 16:33 ` Чернышов Антон 2010-10-17 16:53 ` Yuriy Shirokov 2010-10-17 17:14 ` Чернышов Антон 2010-10-17 21:33 ` Yuriy Shirokov 2010-10-18 3:49 ` Чернышов Антон 2010-10-16 21:16 ` Yuriy Shirokov 2010-10-19 19:36 ` Yuriy Shirokov 2010-10-14 7:34 ` Michail Yakushin 2010-10-14 9:16 ` Yuriy Al. Shirokov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20101015205341.GA8641@shutemov.name \ --to=kirill@shutemov.name \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git