mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-24 23:32:18 +08:00
commit
d5b69659e3
45
docs/build-system/procps-ng-systemd.md
Normal file
45
docs/build-system/procps-ng-systemd.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
<package-info :package="package" showsbu2></package-info>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
new Vue({
|
||||||
|
el: '#main',
|
||||||
|
data: { package: {} },
|
||||||
|
mounted: function () {
|
||||||
|
this.getPackage('procps-ng');
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getPackage: function(name) {
|
||||||
|
getPackage(name)
|
||||||
|
.then(response => this.package = response);
|
||||||
|
},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
## Настройка
|
||||||
|
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--disable-static \
|
||||||
|
--disable-kill --with-systemd
|
||||||
|
```
|
||||||
|
|
||||||
|
## Сборка
|
||||||
|
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make
|
||||||
|
```
|
||||||
|
## Тестирование
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make check
|
||||||
|
```
|
||||||
|
|
||||||
|
## Установка
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make install
|
||||||
|
```
|
||||||
|
|
@ -25,7 +25,6 @@
|
|||||||
--disable-kill
|
--disable-kill
|
||||||
```
|
```
|
||||||
|
|
||||||
Для использования systemd добавьте параметр `--with-systemd`
|
|
||||||
|
|
||||||
## Сборка
|
## Сборка
|
||||||
|
|
@ -31,7 +31,8 @@
|
|||||||
--disable-pylibmount \
|
--disable-pylibmount \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--without-python \
|
--without-python \
|
||||||
runstatedir=/run
|
runstatedir=/run \
|
||||||
|
--enable-usrdir-path
|
||||||
```
|
```
|
||||||
|
|
||||||
## Сборка
|
## Сборка
|
||||||
|
@ -33,7 +33,8 @@
|
|||||||
--without-python \
|
--without-python \
|
||||||
--without-systemd \
|
--without-systemd \
|
||||||
--without-systemdsystemunitdir \
|
--without-systemdsystemunitdir \
|
||||||
runstatedir=/run
|
runstatedir=/run \
|
||||||
|
--enable-usrdir-path
|
||||||
```
|
```
|
||||||
|
|
||||||
## Сборка
|
## Сборка
|
||||||
@ -82,7 +83,8 @@ CC="gcc -m32" \
|
|||||||
--enable-libmount-force-mountinfo \
|
--enable-libmount-force-mountinfo \
|
||||||
--without-systemd \
|
--without-systemd \
|
||||||
--without-systemdsystemunitdir \
|
--without-systemdsystemunitdir \
|
||||||
runstatedir=/run --disable-fdisks --disable-mount --disable-fsck
|
runstatedir=/run --disable-fdisks \
|
||||||
|
--disable-mount --disable-fsck
|
||||||
```
|
```
|
||||||
|
|
||||||
### Сборка
|
### Сборка
|
||||||
|
Loading…
Reference in New Issue
Block a user