Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit bc9b0af
Author: Uri Herrera <[email protected]>
Date:   Mon Sep 9 18:28:30 2024 -0600

    rm this from ccu

commit d07ca51
Author: Uri Herrera <[email protected]>
Date:   Mon Sep 9 18:15:23 2024 -0600

    Update nuts-query.info

commit 7a5eec4
Author: Uri Herrera <[email protected]>
Date:   Mon Sep 9 17:17:50 2024 -0600

    update target ver

commit 6762e77
Author: Uri Herrera <[email protected]>
Date:   Mon Sep 9 09:38:44 2024 -0600

    test ota

commit 0309597
Author: Uri Herrera <[email protected]>
Date:   Mon Sep 9 09:37:46 2024 -0600

    test ota

commit 454b457
Author: Uri Herrera <[email protected]>
Date:   Wed Aug 7 07:57:30 2024 -0600

    rm useless flag

commit 1b29faa
Author: Uri Herrera <[email protected]>
Date:   Wed Aug 7 07:39:22 2024 -0600

    ...
  • Loading branch information
UriHerrera committed Sep 10, 2024
1 parent 382bc75 commit 504fba2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 123 deletions.
54 changes: 5 additions & 49 deletions tmp/nuts-ccu
Original file line number Diff line number Diff line change
Expand Up @@ -271,55 +271,6 @@ $(which cp) /etc/init.d/{apparmor,bootmisc.sh,brightness,cgroups,checkroot-bootc
$(which cp) /etc/init.d/{cryptdisks,cryptdisks-early,cryptmount-openrc,device-mapper-openrc,dmcrypt-openrc,dmeventd-openrc} /etc/runlevels/boot || true


#######################################################
# These are changes introduced in the new release. #
#######################################################

# -- Remove the contents of packages using the shell. At this point, we're not keeping or using data in /var/lib/dpkg anyway, so it doesn't matter how these files and directories are removed.

files=(
"/usr/sbin/bpftool"
"/usr/share/bash-completion/completions/bpftool"
"/usr/share/doc/bpftool/changelog.Debian.gz"
"/usr/share/doc/bpftool/copyright"
"/usr/share/man/man8/bpftool-btf.8.gz"
"/usr/share/man/man8/bpftool-cgroup.8.gz"
"/usr/share/man/man8/bpftool-feature.8.gz"
"/usr/share/man/man8/bpftool-gen.8.gz"
"/usr/share/man/man8/bpftool-iter.8.gz"
"/usr/share/man/man8/bpftool-link.8.gz"
"/usr/share/man/man8/bpftool-map.8.gz"
"/usr/share/man/man8/bpftool-net.8.gz"
"/usr/share/man/man8/bpftool-perf.8.gz"
"/usr/share/man/man8/bpftool-prog.8.gz"
"/usr/share/man/man8/bpftool-struct_ops.8.gz"
"/usr/share/man/man8/bpftool.8.gz"
"/etc/udev/rules.d/40-ioschedulers.rules"
)

directories=(
"/usr/share/plasma/plasmoids/org.nx.networkmanagement"
)

for file in "${files[@]}"; do
if [ -f "$file" ]; then
puts_info "Deleting $file, continuing..."
rm -f "$file"
else
puts_warning "$file does not exist, skipping..."
fi
done

for dir in "${directories[@]}"; do
if [ -d "$dir" ]; then
puts_info "Deleting directory $dir, continuing..."
rm -rf "$dir"
else
puts_warning "Directory $dir does not exist, skipping..."
fi
done


# -- Remove AppArmor profile that causes Flatpak not to work.

src="/etc/apparmor.d/bwrap-userns-restrict"
Expand Down Expand Up @@ -357,6 +308,11 @@ else
exit 1
fi


#######################################################
# These are changes introduced in the new release. #
#######################################################

puts_success "Success! misc. and configuration files have been updated, continuing..."


Expand Down
23 changes: 0 additions & 23 deletions tmp/nuts-crr
Original file line number Diff line number Diff line change
Expand Up @@ -165,29 +165,6 @@ TARGET_DIST="nitrux"

# ====== START ======

# -- Flag parsing.

for cmd; do
case "$cmd" in
-v | --version)
print_message "$TOOL_NAME" \
"" \
"Version $COMP_NAME: $CRR_VERSION." \
"" \
"The license used for this file and its contents is: BSD-3-Clause." \
"" \
"Authors:" \
"" \
" Copyright <2023> <Uri Herrera <[email protected]>>" \
"" \
"(c) $FECHA Some Rights Reserved. Made by $VENDOR"

exit
;;
esac
done


# -- Mount the devices filesystem.
# -- Check if /dev is already mounted.

Expand Down
23 changes: 0 additions & 23 deletions tmp/nuts-cru
Original file line number Diff line number Diff line change
Expand Up @@ -183,29 +183,6 @@ CURRENT_DIST=$(awk -F'=' '/VERSION_CODENAME/{print $NF}' /etc/os-release)

# ====== START ======

# -- Flag parsing.

for cmd; do
case "$cmd" in
-v | --version)
print_message "$TOOL_NAME" \
"" \
"Version $COMP_NAME: $CRU_VERSION." \
"" \
"The license used for this file and its contents is: BSD-3-Clause." \
"" \
"Authors:" \
"" \
" Copyright <2023> <Uri Herrera <[email protected]>>" \
"" \
"(c) $FECHA Some Rights Reserved. Made by $VENDOR"

exit
;;
esac
done


# -- Mount the devices filesystem.
# -- Check if /dev is already mounted.

Expand Down
8 changes: 4 additions & 4 deletions tmp/nuts-query.info
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
# Define the minimum target for the update.
#
[RELEASE]
MINTARGET=3.5.1
MINTARGET=3.6.0

# Define the name of the file and its checksum.
#
[OTA]
OTAFILE=ota-2024.08.07-02.03-amd64.squashfs
OTASUM=451190aec6a7ab759a1a265266c1d721
OTAFILE=ota-2024.09.09-08.12-amd64.squashfs
OTASUM=cd55ffb4b410141f32b7c0a19b945323

# Define the list of mirrors to download the file.
# If multiple mirrors are available, separate them using commas, i.e., url1,url2,url3
#
[URL]
MIRRORLIST=https://master.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://netactuate.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://netix.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://freefr.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://phoenixnap.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://ufpr.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://liquidtelecom.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://yer.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://newcontinuum.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs,https://versaweb.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.08.07-02.03-amd64.squashfs
MIRRORLIST=https://master.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://netactuate.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://netix.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://freefr.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://phoenixnap.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://ufpr.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://liquidtelecom.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://yer.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://newcontinuum.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs,https://versaweb.dl.sourceforge.net/project/nitruxos/Updates/ota-2024.09.09-08.12-amd64.squashfs
23 changes: 0 additions & 23 deletions tmp/nuts-sup
Original file line number Diff line number Diff line change
Expand Up @@ -96,29 +96,6 @@ NUTS_GIT_DIR=$(mktemp -d)

# ====== START ======

# -- Flag parsing.

for cmd; do
case "$cmd" in
-v | --version)
print_message "$TOOL_NAME" \
"" \
"Version $COMP_NAME: $SUP_VERSION." \
"" \
"The license used for this file and its contents is: BSD-3-Clause." \
"" \
"Authors:" \
"" \
" Copyright <2023> <Uri Herrera <[email protected]>>" \
"" \
"(c) $FECHA Some Rights Reserved. Made by $VENDOR"

exit
;;
esac
done


# -- Save current value of NUTS_BRANCH.

CURRENT_NUTS_BRANCH=$(grep -oP '^NUTS_BRANCH=\K.*' "$CONFIG_FILE")
Expand Down
2 changes: 1 addition & 1 deletion usr/bin/nuts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# #
# 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer #
# in the documentation and/or other materials provided with the distribution. #
# #
#
# 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software #
# without specific prior written permission. #
# #
Expand Down

0 comments on commit 504fba2

Please sign in to comment.