mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-24 23:32:18 +08:00
Merge pull request #376 from Linux4Yourself/bootscripts
Add Bootscripts
This commit is contained in:
commit
e7e5660d71
@ -135,6 +135,7 @@
|
||||
- [Util-linux](build-system/util-linux-sysvinit.md)
|
||||
- [Sysklogd](build-system/sysklogd)
|
||||
- [SysVinit](build-system/sysvinit)
|
||||
- [Bootscripts](build-system/bootscripts)
|
||||
- **SystemD**
|
||||
- [SystemD](build-system/systemd)
|
||||
- [D-Bus](build-system/dbus)
|
||||
|
24
docs/build-system/bootscripts.md
Normal file
24
docs/build-system/bootscripts.md
Normal file
@ -0,0 +1,24 @@
|
||||
<package-info :package="package" ></package-info>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#main',
|
||||
data: { package: {} },
|
||||
mounted: function () {
|
||||
this.getPackage('bootscripts');
|
||||
},
|
||||
methods: {
|
||||
getPackage: function(name) {
|
||||
getPackage(name)
|
||||
.then(response => this.package = response);
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
## Установка
|
||||
|
||||
```bash
|
||||
make install
|
||||
```
|
||||
|
@ -1,21 +1,30 @@
|
||||
<package-info :package="package" showsbu2></package-info>
|
||||
<package-info :package="package" showsbu2 ></package-info>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#main',
|
||||
data: { package: {} },
|
||||
data: { package: {}, patch: {} },
|
||||
mounted: function () {
|
||||
this.getPackage('eudev');
|
||||
this.getBzipPatch();
|
||||
},
|
||||
methods: {
|
||||
getPackage: function(name) {
|
||||
getPackage(name)
|
||||
.then(response => this.package = response);
|
||||
},
|
||||
getBzipPatch: function() {
|
||||
getPackage('udev')
|
||||
.then(response => this.patch = response);
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
## Дополнительные необходимые файлы
|
||||
|
||||
<a :href="patch.url">{{ patch.url}}</a>
|
||||
|
||||
## Настройка
|
||||
|
||||
|
||||
@ -54,12 +63,12 @@ make install
|
||||
|
||||
Установите необходимые файлы:
|
||||
|
||||
<!-- TODO: добавить в шапку ссылку на это -->
|
||||
|
||||
```bash
|
||||
tar -xvf ../udev-lfs-20171102.tar.xz
|
||||
make -f udev-lfs-20171102/Makefile.lfs install
|
||||
```
|
||||
<pre class="pre">
|
||||
mkdir udev
|
||||
cd udev
|
||||
tar -xvf ../../{{patch.fileName}}
|
||||
make -f Makefile.lfs install
|
||||
</pre>
|
||||
|
||||
## Для multilib
|
||||
|
||||
|
@ -31,12 +31,12 @@ export BUILD_BZIP2=0
|
||||
sh Configure -des \
|
||||
-Dprefix=/usr \
|
||||
-Dvendorprefix=/usr \
|
||||
-Dprivlib=/usr/lib/perl5/5.32/core_perl \
|
||||
-Darchlib=/usr/lib/perl5/5.32/core_perl \
|
||||
-Dsitelib=/usr/lib/perl5/5.32/site_perl \
|
||||
-Dsitearch=/usr/lib/perl5/5.32/site_perl \
|
||||
-Dvendorlib=/usr/lib/perl5/5.32/vendor_perl \
|
||||
-Dvendorarch=/usr/lib/perl5/5.32/vendor_perl \
|
||||
-Dprivlib=/usr/lib/perl5/5.34/core_perl \
|
||||
-Darchlib=/usr/lib/perl5/5.34/core_perl \
|
||||
-Dsitelib=/usr/lib/perl5/5.34/site_perl \
|
||||
-Dsitearch=/usr/lib/perl5/5.34/site_perl \
|
||||
-Dvendorlib=/usr/lib/perl5/5.34/vendor_perl \
|
||||
-Dvendorarch=/usr/lib/perl5/5.34/vendor_perl \
|
||||
-Dman1dir=/usr/share/man/man1 \
|
||||
-Dman3dir=/usr/share/man/man3 \
|
||||
-Dpager="/usr/bin/less -isR" \
|
||||
|
Loading…
Reference in New Issue
Block a user