-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
839 additions
and
3 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
...ual-install-for-bios-develop/host-steps/helper/distro/main-xfce/asset/build/profiledef.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
) |
3 changes: 3 additions & 0 deletions
3
...ll-for-bios-develop/host-steps/helper/distro/main-xfce/asset/overlay/etc/nearbyos-release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
16 changes: 16 additions & 0 deletions
16
...p/host-steps/helper/distro/main-xfce/asset/overlay/etc/pacman.d/hooks/50-lsb-release.hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Oops, something went wrong.