github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/pkg/build/linux_gen.sh (about) 1 #!/usr/bin/env bash 2 # Copyright 2020 syzkaller project authors. All rights reserved. 3 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 4 5 set -eu 6 7 echo -en '// Code generated by pkg/build/linux.go. DO NOT EDIT.\n\n' > linux_generated.go 8 echo -en 'package build\n\n' >> linux_generated.go 9 echo -en 'const createImageScript = `#!/bin/bash\n' >> linux_generated.go 10 cat ../../tools/create-gce-image.sh | egrep -v '^\s*#' >> linux_generated.go 11 echo -en '`\n\n' >> linux_generated.go