#!/usr/bin/env bash set -e source $(dirname $0)/env.sh cd $LUNA_ROOT nm -C -n $LUNA_BUILD_DIR/kernel/moon | grep -vE \\.Lubsan_data | awk '{ if ($2 != "a") print; }' | uniq > initrd/ksyms