treewide: add license header and enable haslicense linter

Change-Id: I873a8d4082d75e8f813d8a726a41187eea7a065e
Reviewed-on: https://review.monogon.dev/c/monogon/+/3825
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/osbase/bringup/bringup.go b/osbase/bringup/bringup.go
index 5095bfb..6373b64 100644
--- a/osbase/bringup/bringup.go
+++ b/osbase/bringup/bringup.go
@@ -1,3 +1,6 @@
+// Copyright The Monogon Project Authors.
+// SPDX-License-Identifier: Apache-2.0
+
 // Package bringup implements a simple wrapper which configures all default
 // mounts, logging and the corresponding forwarders to tty0 and ttyS0. It
 // then configures a new logtree and starts a supervisor to run the provided
diff --git a/osbase/bringup/panichandler.go b/osbase/bringup/panichandler.go
index 89cae68..9b6c3e6 100644
--- a/osbase/bringup/panichandler.go
+++ b/osbase/bringup/panichandler.go
@@ -1,3 +1,6 @@
+// Copyright The Monogon Project Authors.
+// SPDX-License-Identifier: Apache-2.0
+
 package bringup
 
 // This uses the unstable overrideWrite interface to also emit all runtime
diff --git a/osbase/bringup/pstore.go b/osbase/bringup/pstore.go
index 8aa41d9..df3b490 100644
--- a/osbase/bringup/pstore.go
+++ b/osbase/bringup/pstore.go
@@ -1,3 +1,6 @@
+// Copyright The Monogon Project Authors.
+// SPDX-License-Identifier: Apache-2.0
+
 package bringup
 
 import (
diff --git a/osbase/bringup/test/main_error.go b/osbase/bringup/test/main_error.go
index f632c1b..d94187e 100644
--- a/osbase/bringup/test/main_error.go
+++ b/osbase/bringup/test/main_error.go
@@ -1,3 +1,6 @@
+// Copyright The Monogon Project Authors.
+// SPDX-License-Identifier: Apache-2.0
+
 package main
 
 import (
diff --git a/osbase/bringup/test/main_panic.go b/osbase/bringup/test/main_panic.go
index 739f16e..e820a34 100644
--- a/osbase/bringup/test/main_panic.go
+++ b/osbase/bringup/test/main_panic.go
@@ -1,3 +1,6 @@
+// Copyright The Monogon Project Authors.
+// SPDX-License-Identifier: Apache-2.0
+
 package main
 
 import (
diff --git a/osbase/bringup/test/main_succeeded.go b/osbase/bringup/test/main_succeeded.go
index b86d314..e7bbc39 100644
--- a/osbase/bringup/test/main_succeeded.go
+++ b/osbase/bringup/test/main_succeeded.go
@@ -1,3 +1,6 @@
+// Copyright The Monogon Project Authors.
+// SPDX-License-Identifier: Apache-2.0
+
 package main
 
 import (
diff --git a/osbase/bringup/test/run_test.go b/osbase/bringup/test/run_test.go
index b560c8c..70003cb 100644
--- a/osbase/bringup/test/run_test.go
+++ b/osbase/bringup/test/run_test.go
@@ -1,3 +1,6 @@
+// Copyright The Monogon Project Authors.
+// SPDX-License-Identifier: Apache-2.0
+
 package test
 
 import (