work_dir="${script_path}/work"
channels_dir="${script_path}/channels"
nfb_dir="${script_path}/nfb"
-codename="32"
+codename="33"
os_name="SereneLinux"
iso_name="Fedora"
language="ja_JP.UTF-8"
run_cmd() {
local mount
- for mount in "dev" "dev/pts" "proc" "sys" "etc/resolv.conf"; do
+ for mount in "dev" "dev/pts" "proc" "sys" "run/systemd/resolve/stub-resolv.conf"; do
#for mount in "dev" "dev/pts" "proc" "sys" ; do
- if [[ "${mount}" == "etc/resolv.conf" ]]; then
- cp /etc/resolv.conf "${work_dir}/airootfs/${mount}"
+ if [[ "${mount}" == "run/systemd/resolve/stub-resolv.conf" ]]; then
+ # cp /etc/resolv.conf "${work_dir}/airootfs/run${mount}"
+ mount --bind /etc/resolv.conf "${work_dir}/airootfs/run/systemd/resolve/stub-resolv.conf"
else
mount --bind /${mount} "${work_dir}/airootfs/${mount}"
fi