From: "Nick S. Grechukh" <ngrechukh@ua.fm> To: sisyphus@altlinux.ru, ALT Linux Devel Mailing List <devel@altlinux.ru> Subject: [sisyphus] Re: [devel] ALTLinux livecd mini-HOWTO Date: Tue, 15 Mar 2005 11:18:16 +0200 Message-ID: <200503151118.16876.ngrechukh@ua.fm> (raw) In-Reply-To: <20050314174630.GA18474@lks.home> [-- Attachment #1: Type: text/plain, Size: 1839 bytes --] предлагается следующее: -где workdir - директория для временных файлов livecd (там же будет находится и собранный образ) +"рабочая директория для генерации livecd (там же будет находится и собранный образ)" (возможно, описать назначение субдиректорий: +profile конфигурация создаваемого образа +aptbox - аптбокс. директория для апт-индексов используемого репозитария +tmp - понятно ;-) +root - здесь находится корневой каталог создаваемой системы +out - сюда кладется сжатый образ корневой fs ) > потом заходим в workdir/profile, и правим там файлы по вкусу: > - profile/config - общая конфигурация livecd, в основном меняются REPO > (путь к локальной копии Сизифа) и строки, идентифицирующие сборку > (PUBLISHER ORIGIN SUITE CODENAME VERSION). $grep VERSION /usr/bin/mklive-boot echo "$ORIGIN $VERSION $SUITE \($CODENAME\)" > $TMPDIR/.VERSION в результате codename так и выглядит - \( blabla \), потому как слэши там не нужны. > Теоретически можно менять тему/язык, но пока в separator это нереализовано. судя по всему это ошибка в separator: $ grep macros /usr/share/separator/functions /usr/sbin/chroot $ROOT /bin/rm -f /etc/rpm/macros.db1 echo "$LANGS" >$ROOT/etc/rpm/macros там надо бы написать echo "%_install_langs $LANGS" и все будет хорошо > - profile/postinstall/setup.d/ - туда кладутся скрипты, отрабатывающие > после создания структуры каталогов livecd. Я туда положил скрипты для > корректировки раскладки клавиатуры/i18n/стартовых сервисов. а где скрипты? может быть опакетить их в separator-livecd-config > 2. Создание образа > $ mklivecd workdir > где workdir - директория с уже созданными временными файлами -уже созданными временными файлами +конфигурацией (конечно, временные там все кроме profile.) > 3. Загрузка LiveCD > загрузка с CD - FIXME что здесь писать? напишу, только скажите о чем. [-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2005-03-15 9:18 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-03-15 9:16 ` Anton Farygin 2005-03-15 9:18 ` Nick S. Grechukh [this message] 2005-03-15 9:23 ` Anton Farygin
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=200503151118.16876.ngrechukh@ua.fm \ --to=ngrechukh@ua.fm \ --cc=devel@altlinux.ru \ --cc=sisyphus@altlinux.ru \ /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