From dc5dde1b60eeb07d2ad9dca4b7c566c8f07e1637 Mon Sep 17 00:00:00 2001 From: aliriza Date: Mon, 16 Jan 2023 06:45:11 +0000 Subject: [PATCH] remove nuke --- .ash_history | 35 ++++++++++++++++++++++++++++++++++ sys/fs/eudev/eudev.hook | 8 ++++++-- sys/fs/eudev/eudev.init-bottom | 4 ---- 3 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 .ash_history diff --git a/.ash_history b/.ash_history new file mode 100644 index 00000000..d1f1d522 --- /dev/null +++ b/.ash_history @@ -0,0 +1,35 @@ +ymp repo --update +cd /root/ +ls +ymp it bash @sys.devel @dev.utils --no-emerge +bash update.sh +ymp build ./x11/libs/libICE/ +ymp it @x11 +pkgconf +ymp it @dev.utils +ymp it @dev.util +ymp gg +ymp it @dev.util --no-emerge +ymp gg +ymp it @dev.util --no-emerge +bash update.sh +ymp build --install x11/libs/libICE/ +ymp it xtarns +ymp it xtrans +ymp it @x11 +pydefault 3.10 +ymp it @x11 +ymp build --install x11/libs/libICE/ +bash update.sh +ymp build --install ./x11/libs/libXaw/ +ymp build ./x11/libs/libXt --install +ymp build ./x11/libs/libSM/ --install +ymp build ./x11/libs/libXt --install +ymp build ./x11/libs/* --install +ymp build ./x11/libs/libICE/ --install +ymp build ./x11/libs/libXaw --install +ymp build ./x11/libs/libXext/ --install +ymp build ./x11/libs/libXmu// --install +ymp build ./x11/libs/libXpm/ --install +ymp build ./x11/libs/libXt/ --install +ymp build ./x11/libs/libXaw// --install diff --git a/sys/fs/eudev/eudev.hook b/sys/fs/eudev/eudev.hook index 342e74c6..eb6cd249 100755 --- a/sys/fs/eudev/eudev.hook +++ b/sys/fs/eudev/eudev.hook @@ -29,7 +29,9 @@ copy_exec /bin/udevadm /bin cp -a /sbin/udevadm $DESTDIR/sbin/udevadm mkdir -p $DESTDIR/etc/udev -cp -p /etc/udev/udev.conf $DESTDIR/etc/udev/ +if [ -f /etc/udev/udev.conf ] ; then + cp -p /etc/udev/udev.conf $DESTDIR/etc/udev/ +fi mkdir -p $DESTDIR/lib/udev/rules.d/ for rules in 50-udev-default.rules 60-persistent-storage.rules \ @@ -60,7 +62,9 @@ YES|yes|Yes|Y|y) ;; esac -cp /lib/udev/hotplug.functions $DESTDIR/lib/udev/ +if [ -f /lib/udev/hotplug.functions ] ; then + cp /lib/udev/hotplug.functions $DESTDIR/lib/udev/ +fi for program in ata_id scsi_id; do copy_exec /lib/udev/$program /lib/udev done diff --git a/sys/fs/eudev/eudev.init-bottom b/sys/fs/eudev/eudev.init-bottom index ff99edc0..608b1c5c 100755 --- a/sys/fs/eudev/eudev.init-bottom +++ b/sys/fs/eudev/eudev.init-bottom @@ -17,7 +17,3 @@ udevadm control --exit # move the /dev tmpfs to the rootfs mount -n -o move /dev ${rootmnt}/dev -# create a temporary symlink to the final /dev for other initramfs scripts -nuke /dev -ln -s ${rootmnt}/dev /dev -