Альтернативный способ установки ManjaroISO

Revision as of 04:54, 17 January 2023 by Krotesk (talk | contribs) (Created page with "{{UserCmd|command=sudo pacman -Syu}}")
Other languages:
English • ‎Türkçe • ‎русский


Warning
По состоянию на март 2015 года manjaroiso устарел, выберите путь Manjaro-tools!


Существует альтернативный способ установки и использования ManjaroISO.

Этот метод более гибкий и идеально подходит для всех, кто хочет создать RC или предварительную версию следующей версии Manjaro. Он также может помочь при несовместимости профилей ManjaroISO.

Это предпочтительный метод для всех разработчиков, которые хотят поддерживать свою собственную версию Manjaro и фиксировать изменения в каталогах профиля ManjaroISO на ManjaroISO Github.


1. Создайте рабочий каталог

Первое, что Вы должны сделать, это создать директорию для работы и перейти в нее с помощью cd. Это поможет организовать работу.

user $ mkdir -p ~/work/ COPY TO CLIPBOARD



2. Обновите свою систему

Для обновления системы

user $ sudo pacman -Syu COPY TO CLIPBOARD



3. Установите ManjaroISO

Затем установите manjaroiso без его профилей:

user $ sudo pacman -S manjaroiso COPY TO CLIPBOARD



4. Клонируйте с Github

The latest code for ManjaroISO is available on Github. There is the "master" branch and the "development" branch available.

The "master" branch is meant for creation of install-medias based on the latest stable Manjaro release. Clone ManjaroISO directly from Github to your work directory:

user $ git clone https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso COPY TO CLIPBOARD



The "development" branch contains code for buildiso to build a RC or pre release install-media. Additionally, it contains more ManjaroISO profiles.

Attention: Not all ManjaroISO profiles in the "development" branch work and it can contain more bugs. Usually, it is updated more often, too.

Clone ManjaroISO from the "development" branch on Github:

user $ git clone -b development https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso COPY TO CLIPBOARD


Обновления

Immediately after you have cloned the code from Github - as described in the last chapter - your ManjaroISO is up-to-date. When you wait a couple of days or longer, it is recommended to update.

An update pulls the latest changes from Github and puts them in your ~/work/manjaroiso directory. Therefore, the following commands make sense.

First, you have to make sure you are in the directory you cloned the code from Github:

user $ cd ~/work/manjaroiso COPY TO CLIPBOARD


Use this "update" command, if you cloned from the master branch:

user $ git pull origin master COPY TO CLIPBOARD


Use this "update" command, if you cloned from the development branch:

user $ git pull origin development COPY TO CLIPBOARD



These "update" commands do not overwrite any changes you have made to files.


Различия

In comparison to the other way to install ManjaroISO, there are a couple more files and directories in your ~/work/manjaroiso/ folder. But other than that, everything works the same.

Now, you can modify your ManjaroISO profile and use buildiso to build your own install-media as described here.