mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-25 07:42:19 +08:00
49 lines
812 B
Markdown
49 lines
812 B
Markdown
<package-info :package="package" showsbu2 ></package-info>
|
|
|
|
<script>
|
|
new Vue({
|
|
el: '#main',
|
|
data: { package: {}, patch: {} },
|
|
mounted: function () {
|
|
this.getPackage('sysvinit');
|
|
this.getBzipPatch();
|
|
},
|
|
methods: {
|
|
getPackage: function(name) {
|
|
getPackage(name)
|
|
.then(response => this.package = response);
|
|
},
|
|
getBzipPatch: function() {
|
|
getPackage('sysvinit-patch')
|
|
.then(response => this.patch = response);
|
|
},
|
|
}
|
|
})
|
|
</script>
|
|
|
|
## Дополнительные необходимые файлы
|
|
|
|
<a :href="patch.url">{{ patch.url}}</a>
|
|
|
|
## Подготовка
|
|
|
|
Примените необходимый патч:
|
|
|
|
<pre class="pre">
|
|
patch -Np1 -i ../{{patch.fileName}}
|
|
</pre>
|
|
|
|
|
|
## Сборка
|
|
|
|
```bash
|
|
make
|
|
```
|
|
|
|
## Установка
|
|
|
|
```bash
|
|
make install
|
|
```
|
|
|