Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samwhelp committed Jun 16, 2023
1 parent 1d2a193 commit ba687f3
Show file tree
Hide file tree
Showing 6 changed files with 839 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# shellcheck disable=SC2034

iso_name="nearbyos-xfce"
iso_label="NEARBYOS-XFCE_$(date +%y%m%d)"
iso_publisher="Nearbyos <https://github.com/samwhelp/nearbyos>"
iso_application="Nearbyos Linux Live DVD"
iso_version="$(date +%y%m%d)"
install_dir="arch"
buildmodes=('iso')
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
'uefi-ia32.grub.esp' 'uefi-x64.grub.esp'
'uefi-ia32.grub.eltorito' 'uefi-x64.grub.eltorito')
arch="x86_64"
pacman_conf="pacman.conf"
airootfs_image_type="squashfs"
airootfs_image_tool_options=('-comp' 'zstd' '-b' '1M')
file_permissions=(
["/etc/shadow"]="0:0:400"
["/etc/gshadow"]="0:0:0400"
# ["/etc/sudoers"]="0:0:0440"
["/root"]="0:0:750"
["/root/.automated_script.sh"]="0:0:755"
["/usr/local/bin/choose-mirror"]="0:0:755"
["/usr/local/bin/Installation_guide"]="0:0:755"
["/usr/local/bin/livecd-sound"]="0:0:755"
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DISTRIB_ID=Nearbyos-Xfce
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Nearbyos / Xfce"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

##
## remove from airootfs!
##


[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = lsb-release

[Action]
Description = Add Nearbyos specifc config.
When = PostTransaction
Exec = /bin/sh -c "sed -i -e s'?^DISTRIB_ID=.*$?DISTRIB_ID=Nearbyos-Xfce?' -e s'?^DISTRIB_DESCRIPTION=.*$?DISTRIB_DESCRIPTION=\"Nearbyos / Xfce\"?' /etc/lsb-release"
Loading

0 comments on commit ba687f3

Please sign in to comment.