Skip to content

Commit

Permalink
Update Linux Kernel version to 6.1.89, update Buildroot version to 20…
Browse files Browse the repository at this point in the history
…24.02.1, & fix partclone compilation error
  • Loading branch information
rluzuriaga authored Apr 30, 2024
1 parent 64e4b85 commit dc9656b
Show file tree
Hide file tree
Showing 8 changed files with 535 additions and 53 deletions.
2 changes: 1 addition & 1 deletion Buildroot/package/partclone/partclone.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ PARTCLONE_INSTALL_STAGING = YES
PARTCLONE_AUTORECONF = YES
PARTCLONE_DEPENDENCIES += attr e2fsprogs libgcrypt lzo xz zlib xfsprogs ncurses host-pkgconf
PARTCLONE_CONF_OPTS = --enable-static --enable-xfs --enable-btrfs --enable-ntfs --enable-extfs --enable-fat --enable-hfsp --enable-apfs --enable-ncursesw --enable-f2fs
PARTCLONE_EXTRA_LIBS = -ldl
PARTCLONE_EXTRA_LIBS = -ldl -latomic
PARTCLONE_CONF_ENV += LIBS="$(PARTCLONE_EXTRA_LIBS)"

define PARTCLONE_LINK_LIBRARIES_TOOL
Expand Down
12 changes: 6 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

[[ -z $KERNEL_VERSION ]] && KERNEL_VERSION='6.1.63'
[[ -z $BUILDROOT_VERSION ]] && BUILDROOT_VERSION='2023.02.7'
[[ -z $KERNEL_VERSION ]] && KERNEL_VERSION='6.1.89'
[[ -z $BUILDROOT_VERSION ]] && BUILDROOT_VERSION='2024.02.1'

Usage() {
echo -e "Usage: $0 [-knfvh?] [-a x64]"
Expand Down Expand Up @@ -114,19 +114,19 @@ while getopts "$optspec" o; do
;;
esac
done
debDeps="tar xz-utils git meld build-essential bc rsync libncurses5-dev bison flex gcc-aarch64-linux-gnu libelf-dev"
rhelDeps="epel-release tar xz git meld gcc gcc-c++ kernel-devel make bc rsync ncurses-devel bison flex gcc-aarch64-linux-gnu elfutils-libelf-devel"
debDeps="tar xz-utils git meld build-essential bc rsync libncurses5-dev bison flex gcc-aarch64-linux-gnu libelf-dev file cpio"
rhelDeps="epel-release tar xz git meld gcc gcc-c++ kernel-devel make bc rsync ncurses-devel bison flex gcc-aarch64-linux-gnu elfutils-libelf-devel file cpio perl-English perl-ExtUtils-MakeMaker perl-Thread-Queue perl-FindBin perl-IPC-Cmd"
[[ -z $arch ]] && arch="x64 x86 arm64"
[[ -z $buildPath ]] && buildPath=$(dirname $(readlink -f $0))
[[ -z $confirm ]] && confirm="y"
echo "Checking packages needed for building"
if grep -iqE "Debian|Ubuntu" /proc/version ; then
if grep -iqE "Debian|Ubuntu" /etc/os-release ; then
os="deb"
eabi="eabi"
pkgmgr() {
dpkg -l
}
elif grep -iqE "Red Hat|Redhat" /proc/version ; then
elif grep -iqE "Red Hat|Redhat" /etc/os-release ; then
os="rhel"
eabi=""
pkgmgr() {
Expand Down
Loading

0 comments on commit dc9656b

Please sign in to comment.