Compare commits
2 Commits
976efe1b80
...
76fb53c94a
Author | SHA1 | Date |
---|---|---|
fangxiuning | 76fb53c94a | |
Lennart Poettering | a38c68a18a |
13
NEWS
13
NEWS
|
@ -422,15 +422,6 @@ CHANGES WITH 246:
|
||||||
control the inode limit for the per-user $XDG_RUNTIME_DIR tmpfs
|
control the inode limit for the per-user $XDG_RUNTIME_DIR tmpfs
|
||||||
instance.
|
instance.
|
||||||
|
|
||||||
* systemd-firstboot gained a new --root-password-hashed= parameter for
|
|
||||||
setting the root user's password as UNIX password hash. There's a new
|
|
||||||
--delete-root-password switch which instead of setting a password for
|
|
||||||
the root user, removes it so that log-in without a password is
|
|
||||||
permitted. There's now --force which if specified means any existing
|
|
||||||
configuration is overwritten by the specified settings. It also
|
|
||||||
gained a new --kernel-command-line= parameter which may be used to
|
|
||||||
set the /etc/kernel/cmdline file of an OS image.
|
|
||||||
|
|
||||||
* A new generator systemd-xdg-autostart-generator has been added. It
|
* A new generator systemd-xdg-autostart-generator has been added. It
|
||||||
generates systemd unit files from XDG autostart .desktop files, and
|
generates systemd unit files from XDG autostart .desktop files, and
|
||||||
may be used to let the systemd user instance manage services that are
|
may be used to let the systemd user instance manage services that are
|
||||||
|
@ -449,6 +440,10 @@ CHANGES WITH 246:
|
||||||
specified on the command line (by default, the tool will not override
|
specified on the command line (by default, the tool will not override
|
||||||
what has already been set before, i.e. is purely incremental).
|
what has already been set before, i.e. is purely incremental).
|
||||||
|
|
||||||
|
* systemd-firstboot gained support for a new --image= switch, which is
|
||||||
|
similar to --root= but accepts the path to a disk image file, on
|
||||||
|
which it then operates.
|
||||||
|
|
||||||
* A new sd-path.h API has been added to libsystemd. It provides a
|
* A new sd-path.h API has been added to libsystemd. It provides a
|
||||||
simple API for retrieving various search paths and primary
|
simple API for retrieving various search paths and primary
|
||||||
directories for various resources.
|
directories for various resources.
|
||||||
|
|
|
@ -254,7 +254,7 @@ static int path_is_vendor_or_generator(const LookupPaths *p, const char *path) {
|
||||||
int unit_file_changes_add(
|
int unit_file_changes_add(
|
||||||
UnitFileChange **changes,
|
UnitFileChange **changes,
|
||||||
size_t *n_changes,
|
size_t *n_changes,
|
||||||
UnitFileChangeType type,
|
int type,
|
||||||
const char *path,
|
const char *path,
|
||||||
const char *source) {
|
const char *source) {
|
||||||
|
|
||||||
|
|
|
@ -183,7 +183,7 @@ int unit_file_exists(UnitFileScope scope, const LookupPaths *paths, const char *
|
||||||
int unit_file_get_list(UnitFileScope scope, const char *root_dir, Hashmap *h, char **states, char **patterns);
|
int unit_file_get_list(UnitFileScope scope, const char *root_dir, Hashmap *h, char **states, char **patterns);
|
||||||
Hashmap* unit_file_list_free(Hashmap *h);
|
Hashmap* unit_file_list_free(Hashmap *h);
|
||||||
|
|
||||||
int unit_file_changes_add(UnitFileChange **changes, size_t *n_changes, UnitFileChangeType type, const char *path, const char *source);
|
int unit_file_changes_add(UnitFileChange **changes, size_t *n_changes, int type, const char *path, const char *source);
|
||||||
void unit_file_changes_free(UnitFileChange *changes, size_t n_changes);
|
void unit_file_changes_free(UnitFileChange *changes, size_t n_changes);
|
||||||
void unit_file_dump_changes(int r, const char *verb, const UnitFileChange *changes, size_t n_changes, bool quiet);
|
void unit_file_dump_changes(int r, const char *verb, const UnitFileChange *changes, size_t n_changes, bool quiet);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue