Skip to content

Commit

Permalink
Add SPDX-License-Identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Jul 26, 2020
1 parent f7e0028 commit b91acc4
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ChangeLog for zram-init:

*zram-init-10.5:
Martin Väth <martin at mvath.de>:
- Add SPDX-License-Identifier

*zram-init-10.4:
Martin Väth <martin at mvath.de>:
- New option -B to change default block size for ext2, ext4
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
BUGADDR = Martin V\"ath <[email protected]>

EXENAME ?= zram-init
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

A wrapper script for the zram kernel module with interactive and init support

(C) Martin Väth (mvath at google.com).
(C) Martin Väth (martin at mvath.de).
Many thanks to all people in the `AUTHORS` file for contributing.
The license of this package is the GNU Public License GPL-2.
SPDX-License-Identifier: GPL-2.0-only

This is a small helper script to setup a zram device as swap or as a ramdisk.
Also a __zsh completion__ file and __openrc__ and __systemd__ init-scripts
Expand Down
3 changes: 2 additions & 1 deletion i18n/de.po
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Copyright (C) 2012-2020 Martin V"ath <[email protected]>
# This file is distributed under the same license as the zram-init package.
# SPDX-License-Identifier: GPL-2.0-only
#
# Martin V"ath <[email protected]>
msgid ""
msgstr ""
"Project-Id-Version: zram-init\n"
"Report-Msgid-Bugs-To: Martin V\"ath <[email protected]>\n"
"POT-Creation-Date: 2020-07-11 07:16+0200\n"
"PO-Revision-Date: 2020-07-11 07:36+0200\n"
"PO-Revision-Date: 2020-07-26 08:49+0200\n"
"Last-Translator: Martin V\"ath <[email protected]>\n"
"Language-Team: German\n"
"Language: de\n"
Expand Down
3 changes: 2 additions & 1 deletion i18n/fr.po
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Copyright (C) 2012-2020 Martin V"ath <[email protected]>
# This file is distributed under the same license as the zram-init package.
# SPDX-License-Identifier: GPL-2.0-only
#
# Mattéo Rossillol‑‑Laruelle <[email protected]>, 2020.
msgid ""
msgstr ""
"Project-Id-Version: zram-init\n"
"Report-Msgid-Bugs-To: Martin V\"ath <[email protected]>\n"
"POT-Creation-Date: 2020-07-11 07:16+0200\n"
"PO-Revision-Date: 2020-07-11 07:19+0200\n"
"PO-Revision-Date: 2020-07-26 08:49+0200\n"
"Last-Translator: Mattéo Rossillol‑‑Laruelle <[email protected]>\n"
"Language-Team: French\n"
"Language: fr\n"
Expand Down
1 change: 1 addition & 0 deletions man/zram-init.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.TH ZRAM-INIT "8" "July 2020" "zram-init" "System Administration"
.\" SPDX-License-Identifier: GPL-2.0-only
.\" {{{ SEE ALSO
.SH "NAME"
\fBzram-init\fR \- Scripts to support compressed swap devices or ramdisks with zram
Expand Down
1 change: 1 addition & 0 deletions man/zram-init.de.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.TH ZRAM-INIT "8" "July 2020" "zram-init" "System Administration"
.\" SPDX-License-Identifier: GPL-2.0-only
.\" {{{ SEE ALSO
.SH "NAME"
\fBzram-init\fR \- Skripte zur Unterst\(:utzung komprimierter Swap-Devices oder Ramdisks mit zram
Expand Down
1 change: 1 addition & 0 deletions openrc/conf.d/zram-init
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# zram settings...
# SPDX-License-Identifier: GPL-2.0-only

# load zram kernel module on start?
load_on_start=yes
Expand Down
1 change: 1 addition & 0 deletions openrc/init.d/zram-init
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/sbin/openrc-run
# SPDX-License-Identifier: GPL-2.0-only

depend() {
need localmount swap
Expand Down
1 change: 1 addition & 0 deletions sbin/zram-init.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env sh
# (C) Martin V\"ath <[email protected]>
# SPDX-License-Identifier: GPL-2.0-only

set -u

Expand Down
1 change: 1 addition & 0 deletions systemd/system/zram_btrfs.service
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
[Unit]
Description=Create btrfs on zram /dev/zram1 without mounting it
DefaultDependencies=no
Expand Down
1 change: 1 addition & 0 deletions systemd/system/zram_swap.service
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
[Unit]
Description=swap with zram
DefaultDependencies=no
Expand Down
1 change: 1 addition & 0 deletions systemd/system/zram_tmp.service
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
[Unit]
Description=Mount /tmp as zram. Mask tmp.mount if you use this
DefaultDependencies=no
Expand Down
1 change: 1 addition & 0 deletions systemd/system/zram_var_tmp.service
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
[Unit]
Description=Mount /var/tmp as zram
DefaultDependencies=no
Expand Down
1 change: 1 addition & 0 deletions zsh/_zram-init
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#compdef zram-init
# SPDX-License-Identifier: GPL-2.0-only
_arguments -s -S -A '-*' : \
'(* -)'{'-h','-H'}'[help]' \
'-d+[use specified zram device nr]:device-nr:(/dev/zram*(\:t\:s/zram/))' \
Expand Down

0 comments on commit b91acc4

Please sign in to comment.